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>
3 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/
3 months ago
Heimen Stoffels a31a3e7509 Added translation using Weblate (Dutch) 3 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/
4 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/
4 months ago
Michele Calgaro 834dbb63d0 Added translation using Weblate (Italian) 4 months ago
Michele Calgaro c766a5f4ed
Use tdestandarddirs.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 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/
4 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/
5 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/
5 months ago
Michele Calgaro ba759c68a0
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro 0ed59f2f13
Fix FTBFS with gcc 15. This resolves issue #28
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 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/
6 months ago
Temuri Doghonadze f1554c1b9e Added translation using Weblate (Georgian) 6 months ago
Michele Calgaro 49746c5b86
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro 39632dffef
Use TDEProcIO class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro 08c9aa58e3
Use tdeprocess.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 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/
8 months ago
Temuri Doghonadze f4893ab56e Added translation using Weblate (Georgian) 8 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/
9 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>
1 year 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

@ -9,7 +9,11 @@
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules #################

@ -9,7 +9,12 @@
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
##### general package setup #####################
@ -37,11 +42,6 @@ enable_testing()
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths #######################
include( TDESetupPaths )

@ -9,7 +9,7 @@ When running &appname; from the command line, there are several options for open
</para>
<programlisting>
Usage: tellico [Qt-options] [KDE-options] [options] [filename]
Usage: tellico [TQt-options] [TDE-options] [options] [filename]
Tellico - a collection manager for KDE
@ -43,20 +43,20 @@ Arguments:
<para>The full list of &DCOP; commands in the <constant>tellico</constant> object is shown below:</para>
<programlisting>
bool importTellico(QString file, QString action)
bool importBibtex(QString file, QString action)
bool importMODS(QString file, QString action)
bool importRIS(QString file, QString action)
bool exportXML(QString file)
bool exportZip(QString file)
bool exportBibtex(QString file)
bool exportHTML(QString file)
bool exportCSV(QString file)
bool exportPilotDB(QString file)
bool importTellico(TQString file, TQString action)
bool importBibtex(TQString file, TQString action)
bool importMODS(TQString file, TQString action)
bool importRIS(TQString file, TQString action)
bool exportXML(TQString file)
bool exportZip(TQString file)
bool exportBibtex(TQString file)
bool exportHTML(TQString file)
bool exportCSV(TQString file)
bool exportPilotDB(TQString file)
QValueList&lt;long int&gt; selectedEntries()
QValueList&lt;long int&gt; filteredEntries()
void openFile(QString file)
void setFilter(QString text)
void openFile(TQString file)
void setFilter(TQString text)
bool showEntry(long int id)
</programlisting>
@ -85,12 +85,12 @@ The current open collection in &appname; may be exported to a file, in either Te
<programlisting>
long int addEntry()
bool removeEntry(long int entryID)
QStringList values(QString fieldName)
QStringList values(long int entryID,QString fieldName)
QStringList values(TQString fieldName)
QStringList values(long int entryID,TQString fieldName)
QStringList bibtexKeys()
QString bibtexKey(long int entryID)
bool setFieldValue(long int entryID,QString fieldName,QString value)
bool addFieldValue(long int entryID,QString fieldName,QString value)
TQString bibtexKey(long int entryID)
bool setFieldValue(long int entryID,TQString fieldName,TQString value)
bool addFieldValue(long int entryID,TQString fieldName,TQString value)
</programlisting>
<para>

@ -108,7 +108,7 @@ might also want to use
takes a bit more memory when compiling, but is more efficient when
running the application.</para>
<para>The last message is slightly different, it just means your Qt
<para>The last message is slightly different, it just means your TQt
installation was compiled with some debugging information.</para>
<para>Or, if &appname; is already installed, run

@ -11,7 +11,7 @@ exécutant <userinput>tellico --help</userinput>.
</para>
<programlisting>
Usage: tellico [Qt-options] [KDE-options] [options] [filename]
Usage: tellico [TQt-options] [TDE-options] [options] [filename]
Tellico - a collection manager for KDE
@ -50,15 +50,15 @@ est disponible ci-dessous :
</para>
<programlisting>
bool importTellico(QString file, QString action)
bool importBibtex(QString file, QString action)
bool importMODS(QString file, QString action)
bool importRIS(QString file, QString action)
bool exportXML(QString file)
bool exportBibtex(QString file)
bool exportHTML(QString file)
bool exportCSV(QString file)
bool exportPilotDB(QString file)
bool importTellico(TQString file, TQString action)
bool importBibtex(TQString file, TQString action)
bool importMODS(TQString file, TQString action)
bool importRIS(TQString file, TQString action)
bool exportXML(TQString file)
bool exportBibtex(TQString file)
bool exportHTML(TQString file)
bool exportCSV(TQString file)
bool exportPilotDB(TQString file)
QStringList bibtexKeys()
</programlisting>

@ -120,7 +120,7 @@ un peu plus de mémoire lors de la compilation, mais rend l'application
plus efficace à l'exécution.</para>
<para>Le dernier message est légèrement différent, il indique que votre
installation de Qt a été compilée avec des informations de déboggage.</para>
installation de TQt a été compilée avec des informations de déboggage.</para>
<para>Ou, si &appname; est déjà installé, executez
<userinput><command>tdedebugdialog</command></userinput> et assurez-vous

@ -12,8 +12,8 @@ Tellico \- a collection manager for TDE
\fB\-\-help\fR
Show help about options
.TP
\fB\-\-help\-qt\fR
Show Qt specific options
\fB\-\-help\-tqt\fR
Show TQt specific options
.TP
\fB\-\-help\-tde\fR
Show TDE specific options
@ -51,13 +51,13 @@ filename
File to open
.SH "SEE ALSO"
The full documentation for
.B Qt:
.B TQt:
is maintained as a Texinfo manual. If the
.B info
and
.B Qt:
.B TQt:
programs are properly installed at your site, the command
.IP
.B info Qt:
.B info TQt:
.PP
should give you access to the complete manual.

@ -69,7 +69,7 @@ void barcodeRecognitionThread::run()
// //DEBUG
if (!img.isNull()) {
TQImage preview = img.scale( 320, 240, TQ_ScaleMin );
TQImage preview = img.scale( 320, 240, TQImage::ScaleMin );
emit gotImage( preview );
Barcode_EAN13 barcode = recognize( img );
if (barcode.isValid() && (old != barcode)) {

@ -101,7 +101,7 @@ namespace barcodeRecognition {
* @author Sebastian Held <sebastian.held@gmx.de>
*/
class barcodeRecognitionThread : public TQObject, public TQThread {
Q_OBJECT
TQ_OBJECT
public:
barcodeRecognitionThread();

@ -48,21 +48,21 @@ BorrowerDialog::BorrowerDialog(TQWidget* parent_, const char* name_/*=0*/)
topLayout->addWidget(m_listView);
m_listView->addColumn(i18n("Name"));
m_listView->setFullWidth(true);
connect(m_listView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), TQT_SLOT(slotOk()));
connect(m_listView, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(updateEdit(TQListViewItem*)));
connect(m_listView, TQ_SIGNAL(doubleClicked(TQListViewItem*)), TQ_SLOT(slotOk()));
connect(m_listView, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(updateEdit(TQListViewItem*)));
m_lineEdit = new KLineEdit(mainWidget);
topLayout->addWidget(m_lineEdit);
connect(m_lineEdit->completionObject(), TQT_SIGNAL(match(const TQString&)),
TQT_SLOT(selectItem(const TQString&)));
connect(m_lineEdit->completionObject(), TQ_SIGNAL(match(const TQString&)),
TQ_SLOT(selectItem(const TQString&)));
m_lineEdit->setFocus();
m_lineEdit->completionObject()->setIgnoreCase(true);
TDEABC::AddressBook* abook = TDEABC::StdAddressBook::self(true);
connect(abook, TQT_SIGNAL(addressBookChanged(AddressBook*)),
TQT_SLOT(slotLoadAddressBook()));
connect(abook, TQT_SIGNAL(loadingFinished(Resource*)),
TQT_SLOT(slotLoadAddressBook()));
connect(abook, TQ_SIGNAL(addressBookChanged(AddressBook*)),
TQ_SLOT(slotLoadAddressBook()));
connect(abook, TQ_SIGNAL(loadingFinished(Resource*)),
TQ_SLOT(slotLoadAddressBook()));
slotLoadAddressBook();
setMinimumWidth(400);

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class BorrowerDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -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");
@ -200,17 +200,17 @@ bool OpenOffice::connectionDialog() {
KLineEdit* pipeEdit = new KLineEdit(w2);
pipeEdit->setText(d->pipe);
gl->addMultiCellWidget(pipeEdit, 0, 0, 1, 2);
pipeEdit->connect(radioPipe, TQT_SIGNAL(toggled(bool)), TQT_SLOT(setEnabled(bool)));
pipeEdit->connect(radioPipe, TQ_SIGNAL(toggled(bool)), TQ_SLOT(setEnabled(bool)));
KLineEdit* hostEdit = new KLineEdit(w2);
hostEdit->setText(d->host);
gl->addWidget(hostEdit, 1, 1);
hostEdit->connect(radioTCP, TQT_SIGNAL(toggled(bool)), TQT_SLOT(setEnabled(bool)));
hostEdit->connect(radioTCP, TQ_SIGNAL(toggled(bool)), TQ_SLOT(setEnabled(bool)));
KIntSpinBox* portSpin = new KIntSpinBox(w2);
portSpin->setMaxValue(99999);
portSpin->setValue(d->port);
gl->addWidget(portSpin, 1, 2);
portSpin->connect(radioTCP, TQT_SIGNAL(toggled(bool)), TQT_SLOT(setEnabled(bool)));
portSpin->connect(radioTCP, TQ_SIGNAL(toggled(bool)), TQ_SLOT(setEnabled(bool)));
if(d->pipe.isEmpty()) {
radioTCP->setChecked(true);
@ -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);

@ -48,7 +48,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class Collection : public TQObject, public TDEShared {
Q_OBJECT
TQ_OBJECT
public:

@ -65,7 +65,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
setMainWidget(page);
TQHBoxLayout* topLayout = new TQHBoxLayout(page, 0, KDialog::spacingHint());
TQGroupBox* fieldsGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Current Fields"), page);
TQGroupBox* fieldsGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Current Fields"), page);
topLayout->addWidget(fieldsGroup, 1);
m_fieldsBox = new TQListBox(fieldsGroup);
m_fieldsBox->setMinimumWidth(150);
@ -77,7 +77,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
(void) new FieldListBox(m_fieldsBox, it);
}
}
connect(m_fieldsBox, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotHighlightedChanged(int)));
connect(m_fieldsBox, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotHighlightedChanged(int)));
TQHBox* hb1 = new TQHBox(fieldsGroup);
hb1->setSpacing(KDialog::spacingHint());
@ -88,8 +88,8 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
m_btnDelete->setIconSet(BarIconSet(TQString::fromLatin1("edit-delete"), TDEIcon::SizeSmall));
TQWhatsThis::add(m_btnDelete, i18n("Remove a field from the collection"));
connect(m_btnNew, TQT_SIGNAL(clicked()), TQT_SLOT(slotNew()) );
connect(m_btnDelete, TQT_SIGNAL(clicked()), TQT_SLOT(slotDelete()));
connect(m_btnNew, TQ_SIGNAL(clicked()), TQ_SLOT(slotNew()) );
connect(m_btnDelete, TQ_SIGNAL(clicked()), TQ_SLOT(slotDelete()));
TQHBox* hb2 = new TQHBox(fieldsGroup);
hb2->setSpacing(KDialog::spacingHint());
@ -102,14 +102,14 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
TQWhatsThis::add(m_btnDown, i18n("Move this field down in the list. The list order is important "
"for the layout of the entry editor."));
connect(m_btnUp, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoveUp()) );
connect(m_btnDown, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoveDown()));
connect(m_btnUp, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoveUp()) );
connect(m_btnDown, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoveDown()));
TQVBox* vbox = new TQVBox(page);
vbox->setSpacing(KDialog::spacingHint());
topLayout->addWidget(vbox, 2);
TQGroupBox* propGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Field Properties"), vbox);
TQGroupBox* propGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Field Properties"), vbox);
TQWidget* grid = new TQWidget(propGroup);
// (parent, nrows, ncols, margin, spacing)
@ -124,7 +124,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
TQString whats = i18n("The title of the field");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_titleEdit, whats);
connect(m_titleEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_titleEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("T&ype:"), grid);
layout->addWidget(label, row, 2);
@ -151,8 +151,8 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
TQWhatsThis::add(m_typeCombo, whats);
// the typeTitles match the fieldMap().values() but in a better order
m_typeCombo->insertStringList(Data::Field::typeTitles());
connect(m_typeCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
connect(m_typeCombo, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotTypeChanged(const TQString&)));
connect(m_typeCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotModified()));
connect(m_typeCombo, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(slotTypeChanged(const TQString&)));
label = new TQLabel(i18n("Cate&gory:"), grid);
layout->addWidget(label, ++row, 0);
@ -174,7 +174,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
}
m_catCombo->insertStringList(cats);
m_catCombo->setDuplicatesEnabled(false);
connect(m_catCombo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_catCombo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("Descr&iption:"), grid);
layout->addWidget(label, ++row, 0);
@ -188,7 +188,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
"\"%{year} %{title}\" where the named fields get substituted in the string.");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_descEdit, whats);
connect(m_descEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_descEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("&Default value:"), grid);
layout->addWidget(label, ++row, 0);
@ -198,7 +198,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
whats = i18n("<qt>A default value can be set for new entries.</qt>");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_defaultEdit, whats);
connect(m_defaultEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_defaultEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("A&llowed values:"), grid);
layout->addWidget(label, ++row, 0);
@ -210,7 +210,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
"for example: \"dog; cat; mouse\"</qt>");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_allowEdit, whats);
connect(m_allowEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_allowEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("Extended &properties:"), grid);
layout->addWidget(label, ++row, 0);
@ -221,9 +221,9 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
whats = i18n("Extended field properties are used to specify things such as the corresponding bibtex field.");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_btnExtended, whats);
connect(m_btnExtended, TQT_SIGNAL(clicked()), TQT_SLOT(slotShowExtendedProperties()));
connect(m_btnExtended, TQ_SIGNAL(clicked()), TQ_SLOT(slotShowExtendedProperties()));
TQButtonGroup* bg = new TQButtonGroup(1, Qt::Horizontal, i18n("Format Options"), vbox);
TQButtonGroup* bg = new TQButtonGroup(1, TQt::Horizontal, i18n("Format Options"), vbox);
m_formatNone = new TQRadioButton(i18n("No formatting"), bg);
TQWhatsThis::add(m_formatNone, i18n("This option prevents the field from ever being "
"automatically formatted or capitalized."));
@ -236,9 +236,9 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
m_formatName = new TQRadioButton(i18n("Format as a name"), bg);
TQWhatsThis::add(m_formatName, i18n("This option capitalizes and formats the field as a "
"name, but only if those options are globally set."));
connect(bg, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotModified()));
connect(bg, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotModified()));
TQGroupBox* optionsGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Field Options"), vbox);
TQGroupBox* optionsGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Field Options"), vbox);
m_complete = new TQCheckBox(i18n("Enable auto-completion"), optionsGroup);
TQWhatsThis::add(m_complete, i18n("If checked, TDE auto-completion will be enabled in the "
"text edit box for this field."));
@ -248,9 +248,9 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
m_grouped = new TQCheckBox(i18n("Allow grouping"), optionsGroup);
TQWhatsThis::add(m_grouped, i18n("If checked, this field may be used to group the entries in "
"the group view."));
connect(m_complete, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_multiple, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_grouped, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_complete, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
connect(m_multiple, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
connect(m_grouped, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
// need to stretch at bottom
vbox->setStretchFactor(new TQWidget(vbox), 1);
@ -271,7 +271,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
// new types. The problem is that when more types are added, the size of the combo box
// doesn't change. So when everything is laid out, the combo box needs to have all the
// items there.
TQTimer::singleShot(0, this, TQT_SLOT(slotSelectInitial()));
TQTimer::singleShot(0, this, TQ_SLOT(slotSelectInitial()));
}
CollectionFieldsDialog::~CollectionFieldsDialog() {

@ -50,7 +50,7 @@ private:
* @author Robby Stephenson
*/
class CollectionFieldsDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -28,7 +28,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class BibtexCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@ namespace Tellico {
* A collection for board (not bored) games.
*/
class BoardGameCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -52,7 +52,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class BookCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -28,7 +28,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class CardCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -28,7 +28,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class CoinCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -28,7 +28,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ComicBookCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FileCatalog : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@ namespace Tellico {
* A collection for games.
*/
class GameCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class MusicCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -45,7 +45,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class StampCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -32,7 +32,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class VideoCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class WineCollection : public Collection {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -134,7 +134,7 @@ ConfigDialog::ConfigDialog(TQWidget* parent_, const char* name_/*=0*/)
enableButtonApply(false);
setHelp(TQString::fromLatin1("general-options"));
connect(this, TQT_SIGNAL(aboutToShowPage(TQWidget*)), TQT_SLOT(slotUpdateHelpLink(TQWidget*)));
connect(this, TQ_SIGNAL(aboutToShowPage(TQWidget*)), TQ_SLOT(slotUpdateHelpLink(TQWidget*)));
}
ConfigDialog::~ConfigDialog() {
@ -202,13 +202,13 @@ void ConfigDialog::setupGeneralPage() {
TQWhatsThis::add(m_cbOpenLastFile, i18n("If checked, the file that was last open "
"will be re-opened at program start-up."));
l->addWidget(m_cbOpenLastFile);
connect(m_cbOpenLastFile, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_cbOpenLastFile, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
m_cbShowTipDay = new TQCheckBox(i18n("&Show \"Tip of the Day\" at startup"), frame);
TQWhatsThis::add(m_cbShowTipDay, i18n("If checked, the \"Tip of the Day\" will be "
"shown at program start-up."));
l->addWidget(m_cbShowTipDay);
connect(m_cbShowTipDay, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_cbShowTipDay, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
TQButtonGroup* imageGroup = new TQVButtonGroup(i18n("Image Storage Options"), frame);
m_rbImageInFile = new TQRadioButton(i18n("Store images in data file"), imageGroup);
@ -219,7 +219,7 @@ void ConfigDialog::setupGeneralPage() {
"application directory, or stored in a directory in the "
"same location as the data file."));
l->addWidget(imageGroup);
connect(imageGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotModified()));
connect(imageGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotModified()));
TQVGroupBox* formatGroup = new TQVGroupBox(i18n("Formatting Options"), frame);
l->addWidget(formatGroup);
@ -227,12 +227,12 @@ void ConfigDialog::setupGeneralPage() {
m_cbCapitalize = new TQCheckBox(i18n("Auto capitalize &titles and names"), formatGroup);
TQWhatsThis::add(m_cbCapitalize, i18n("If checked, titles and names will "
"be automatically capitalized."));
connect(m_cbCapitalize, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_cbCapitalize, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
m_cbFormat = new TQCheckBox(i18n("Auto &format titles and names"), formatGroup);
TQWhatsThis::add(m_cbFormat, i18n("If checked, titles and names will "
"be automatically formatted."));
connect(m_cbFormat, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_cbFormat, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
TQGrid* g1 = new TQGrid(2, formatGroup);
g1->setSpacing(5);
@ -244,7 +244,7 @@ void ConfigDialog::setupGeneralPage() {
"should be separated by a semi-colon.</qt>");
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_leCapitals, whats);
connect(m_leCapitals, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_leCapitals, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
lab = new TQLabel(i18n("Artic&les:"), g1);
m_leArticles = new KLineEdit(g1);
@ -254,7 +254,7 @@ void ConfigDialog::setupGeneralPage() {
"should be separated by a semi-colon.</qt>");
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_leArticles, whats);
connect(m_leArticles, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_leArticles, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
lab = new TQLabel(i18n("Personal suffi&xes:"), g1);
m_leSuffixes = new KLineEdit(g1);
@ -263,7 +263,7 @@ void ConfigDialog::setupGeneralPage() {
"should be separated by a semi-colon.</qt>");
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_leSuffixes, whats);
connect(m_leSuffixes, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_leSuffixes, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
lab = new TQLabel(i18n("Surname &prefixes:"), g1);
m_lePrefixes = new KLineEdit(g1);
@ -272,7 +272,7 @@ void ConfigDialog::setupGeneralPage() {
"should be separated by a semi-colon.</qt>");
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_lePrefixes, whats);
connect(m_lePrefixes, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_lePrefixes, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
// stretch to fill lower area
l->addStretch(1);
@ -301,18 +301,18 @@ void ConfigDialog::setupPrintingPage() {
m_cbPrintFormatted = new TQCheckBox(i18n("&Format titles and names"), formatOptions);
TQWhatsThis::add(m_cbPrintFormatted, i18n("If checked, titles and names will be automatically formatted."));
connect(m_cbPrintFormatted, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_cbPrintFormatted, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
m_cbPrintHeaders = new TQCheckBox(i18n("&Print field headers"), formatOptions);
TQWhatsThis::add(m_cbPrintHeaders, i18n("If checked, the field names will be printed as table headers."));
connect(m_cbPrintHeaders, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_cbPrintHeaders, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
TQHGroupBox* groupOptions = new TQHGroupBox(i18n("Grouping Options"), frame);
l->addWidget(groupOptions);
m_cbPrintGrouped = new TQCheckBox(i18n("&Group the entries"), groupOptions);
TQWhatsThis::add(m_cbPrintGrouped, i18n("If checked, the entries will be grouped by the selected field."));
connect(m_cbPrintGrouped, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
connect(m_cbPrintGrouped, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
TQVGroupBox* imageOptions = new TQVGroupBox(i18n("Image Options"), frame);
l->addWidget(imageOptions);
@ -328,10 +328,10 @@ void ConfigDialog::setupPrintingPage() {
TQString whats = i18n("The maximum width of the images in the printout. The aspect ration is preserved.");
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_imageWidthBox, whats);
connect(m_imageWidthBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotModified()));
connect(m_imageWidthBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotModified()));
// TQSpinBox doesn't emit valueChanged if you edit the value with
// the lineEdit until you change the keyboard focus
connect(m_imageWidthBox->child("qt_spinbox_edit"), TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_imageWidthBox->child("qt_spinbox_edit"), TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
lab = new TQLabel(i18n("&Maximum image height:"), grid);
m_imageHeightBox = new KIntSpinBox(0, 999, 1, 50, 10, grid);
@ -341,10 +341,10 @@ void ConfigDialog::setupPrintingPage() {
whats = i18n("The maximum height of the images in the printout. The aspect ration is preserved.");
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_imageHeightBox, whats);
connect(m_imageHeightBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotModified()));
connect(m_imageHeightBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotModified()));
// TQSpinBox doesn't emit valueChanged if you edit the value with
// the lineEdit until you change the keyboard focus
connect(m_imageHeightBox->child("qt_spinbox_edit"), TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
connect(m_imageHeightBox->child("qt_spinbox_edit"), TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
// stretch to fill lower area
l->addStretch(1);
@ -368,7 +368,7 @@ void ConfigDialog::setupTemplatePage() {
lab = new TQLabel(i18n("Template:"), frame);
m_templateCombo = new GUI::ComboBox(frame);
connect(m_templateCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
connect(m_templateCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotModified()));
lab->setBuddy(m_templateCombo);
TQString whats = i18n("Select the template to use for the current type of collections. "
"Not all templates will use the font and color settings.");
@ -381,7 +381,7 @@ void ConfigDialog::setupTemplatePage() {
TQWhatsThis::add(btn, i18n("Show a preview of the template"));
btn->setIconSet(SmallIconSet(TQString::fromLatin1("viewmag")));
gridLayout->addWidget(btn, row, 2);
connect(btn, TQT_SIGNAL(clicked()), TQT_SLOT(slotShowTemplatePreview()));
connect(btn, TQ_SIGNAL(clicked()), TQ_SLOT(slotShowTemplatePreview()));
// so the button is squeezed small
gridLayout->setColStretch(0, 10);
@ -395,7 +395,7 @@ void ConfigDialog::setupTemplatePage() {
// l1->setTextFormat(TQt::RichText);
// l->addWidget(l1);
TQGroupBox* fontGroup = new TQGroupBox(0, Qt::Vertical, i18n("Font Options"), frame);
TQGroupBox* fontGroup = new TQGroupBox(0, TQt::Vertical, i18n("Font Options"), frame);
l->addWidget(fontGroup);
row = -1;
@ -406,7 +406,7 @@ void ConfigDialog::setupTemplatePage() {
fontLayout->addWidget(lab, ++row, 0);
m_fontCombo = new TDEFontCombo(fontGroup);
fontLayout->addWidget(m_fontCombo, row, 1);
connect(m_fontCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
connect(m_fontCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotModified()));
lab->setBuddy(m_fontCombo);
whats = i18n("This font is passed to the template used in the Entry View.");
TQWhatsThis::add(lab, whats);
@ -417,12 +417,12 @@ void ConfigDialog::setupTemplatePage() {
m_fontSizeInput->setRange(5, 30); // 30 is same max as konq config
m_fontSizeInput->setSuffix(TQString::fromLatin1("pt"));
fontLayout->addWidget(m_fontSizeInput, row, 1);
connect(m_fontSizeInput, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotModified()));
connect(m_fontSizeInput, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotModified()));
lab->setBuddy(m_fontSizeInput);
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_fontSizeInput, whats);
TQGroupBox* colGroup = new TQGroupBox(0, Qt::Vertical, i18n("Color Options"), frame);
TQGroupBox* colGroup = new TQGroupBox(0, TQt::Vertical, i18n("Color Options"), frame);
l->addWidget(colGroup);
row = -1;
@ -433,7 +433,7 @@ void ConfigDialog::setupTemplatePage() {
colLayout->addWidget(lab, ++row, 0);
m_baseColorCombo = new KColorCombo(colGroup);
colLayout->addWidget(m_baseColorCombo, row, 1);
connect(m_baseColorCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
connect(m_baseColorCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotModified()));
lab->setBuddy(m_baseColorCombo);
whats = i18n("This color is passed to the template used in the Entry View.");
TQWhatsThis::add(lab, whats);
@ -443,7 +443,7 @@ void ConfigDialog::setupTemplatePage() {
colLayout->addWidget(lab, ++row, 0);
m_textColorCombo = new KColorCombo(colGroup);
colLayout->addWidget(m_textColorCombo, row, 1);
connect(m_textColorCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
connect(m_textColorCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotModified()));
lab->setBuddy(m_textColorCombo);
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_textColorCombo, whats);
@ -452,7 +452,7 @@ void ConfigDialog::setupTemplatePage() {
colLayout->addWidget(lab, ++row, 0);
m_highBaseColorCombo = new KColorCombo(colGroup);
colLayout->addWidget(m_highBaseColorCombo, row, 1);
connect(m_highBaseColorCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
connect(m_highBaseColorCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotModified()));
lab->setBuddy(m_highBaseColorCombo);
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_highBaseColorCombo, whats);
@ -461,7 +461,7 @@ void ConfigDialog::setupTemplatePage() {
colLayout->addWidget(lab, ++row, 0);
m_highTextColorCombo = new KColorCombo(colGroup);
colLayout->addWidget(m_highTextColorCombo, row, 1);
connect(m_highTextColorCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
connect(m_highTextColorCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotModified()));
lab->setBuddy(m_highTextColorCombo);
TQWhatsThis::add(lab, whats);
TQWhatsThis::add(m_highTextColorCombo, whats);
@ -474,19 +474,19 @@ void ConfigDialog::setupTemplatePage() {
KPushButton* b1 = new KPushButton(i18n("Install..."), box1);
b1->setIconSet(SmallIconSet(TQString::fromLatin1("add")));
connect(b1, TQT_SIGNAL(clicked()), TQT_SLOT(slotInstallTemplate()));
connect(b1, TQ_SIGNAL(clicked()), TQ_SLOT(slotInstallTemplate()));
whats = i18n("Click to install a new template directly.");
TQWhatsThis::add(b1, whats);
KPushButton* b2 = new KPushButton(i18n("Download..."), box1);
b2->setIconSet(SmallIconSet(TQString::fromLatin1("knewstuff")));
connect(b2, TQT_SIGNAL(clicked()), TQT_SLOT(slotDownloadTemplate()));
connect(b2, TQ_SIGNAL(clicked()), TQ_SLOT(slotDownloadTemplate()));
whats = i18n("Click to download additional templates via the Internet.");
TQWhatsThis::add(b2, whats);
KPushButton* b3 = new KPushButton(i18n("Delete..."), box1);
b3->setIconSet(SmallIconSet(TQString::fromLatin1("remove")));
connect(b3, TQT_SIGNAL(clicked()), TQT_SLOT(slotDeleteTemplate()));
connect(b3, TQ_SIGNAL(clicked()), TQ_SLOT(slotDeleteTemplate()));
whats = i18n("Click to select and remove installed templates.");
TQWhatsThis::add(b3, whats);
@ -508,8 +508,8 @@ void ConfigDialog::setupFetchPage() {
m_sourceListView->setSorting(-1); // no sorting
m_sourceListView->setSelectionMode(TQListView::Single);
leftLayout->addWidget(m_sourceListView, 1);
connect(m_sourceListView, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(slotSelectedSourceChanged(TQListViewItem*)));
connect(m_sourceListView, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQT_SLOT(slotModifySourceClicked()));
connect(m_sourceListView, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(slotSelectedSourceChanged(TQListViewItem*)));
connect(m_sourceListView, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQ_SLOT(slotModifySourceClicked()));
TQHBox* hb = new TQHBox(frame);
leftLayout->addWidget(hb);
@ -551,12 +551,12 @@ void ConfigDialog::setupFetchPage() {
vlay->addWidget(m_newStuffBtn);
vlay->addStretch(1);
connect(newSourceBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewSourceClicked()));
connect(m_modifySourceBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotModifySourceClicked()));
connect(m_moveUpSourceBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoveUpSourceClicked()));
connect(m_moveDownSourceBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoveDownSourceClicked()));
connect(m_removeSourceBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveSourceClicked()));
connect(m_newStuffBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewStuffClicked()));
connect(newSourceBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewSourceClicked()));
connect(m_modifySourceBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotModifySourceClicked()));
connect(m_moveUpSourceBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoveUpSourceClicked()));
connect(m_moveDownSourceBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoveDownSourceClicked()));
connect(m_removeSourceBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemoveSourceClicked()));
connect(m_newStuffBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewStuffClicked()));
TDEAcceleratorManager::manage(frame);
}
@ -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) {
@ -1021,7 +1021,7 @@ void ConfigDialog::slotInstallTemplate() {
return;
}
NewStuff::Manager man(TQT_TQOBJECT(this));
NewStuff::Manager man(this);
if(man.installTemplate(u)) {
loadTemplateList();
}
@ -1051,7 +1051,7 @@ void ConfigDialog::slotDeleteTemplate() {
nameFileMap.keys(), 0, false, &ok, this);
if(ok && !name.isEmpty()) {
TQString file = nameFileMap[name];
NewStuff::Manager man(TQT_TQOBJECT(this));
NewStuff::Manager man(this);
man.removeTemplate(file);
loadTemplateList();
}

@ -46,7 +46,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ConfigDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -141,11 +141,11 @@ void Controller::slotCollectionAdded(Data::CollPtr coll_) {
updateActions();
connect(coll_, TQT_SIGNAL(signalGroupsModified(Tellico::Data::CollPtr, PtrVector<Tellico::Data::EntryGroup>)),
m_mainWindow->m_groupView, TQT_SLOT(slotModifyGroups(Tellico::Data::CollPtr, PtrVector<Tellico::Data::EntryGroup>)));
connect(coll_, TQ_SIGNAL(signalGroupsModified(Tellico::Data::CollPtr, PtrVector<Tellico::Data::EntryGroup>)),
m_mainWindow->m_groupView, TQ_SLOT(slotModifyGroups(Tellico::Data::CollPtr, PtrVector<Tellico::Data::EntryGroup>)));
connect(coll_, TQT_SIGNAL(signalRefreshField(Tellico::Data::FieldPtr)),
this, TQT_SLOT(slotRefreshField(Tellico::Data::FieldPtr)));
connect(coll_, TQ_SIGNAL(signalRefreshField(Tellico::Data::FieldPtr)),
this, TQ_SLOT(slotRefreshField(Tellico::Data::FieldPtr)));
}
void Controller::slotCollectionModified(Data::CollPtr coll_) {
@ -336,7 +336,7 @@ void Controller::goEntrySibling(EntryDirection dir_) {
return;
}
// find the widget that has an entry selected
GUI::ListView* view = ::tqqt_cast<GUI::ListView*>(m_widgetWithSelection);
GUI::ListView* view = ::tqt_cast<GUI::ListView*>(m_widgetWithSelection);
if(!view) {
return;
}

@ -36,7 +36,7 @@ class Observer;
* @author Robby Stephenson
*/
class Controller : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -100,7 +100,7 @@ bool DropHandler::handleURL(const KURL::List& urls_) {
hasUnknown = true;
}
}
MainWindow* mainWindow = ::tqqt_cast<MainWindow*>(Kernel::self()->widget());
MainWindow* mainWindow = ::tqt_cast<MainWindow*>(Kernel::self()->widget());
if(!mainWindow) {
myDebug() << "DropHandler::handleURL() - no main window!" << endl;
return !hasUnknown;

@ -20,7 +20,7 @@
namespace Tellico {
class DropHandler : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -73,8 +73,8 @@ TQPixmap NetAccess::filePreview(const KURL& url, int size) {
KURL::List list;
list.append(url);
TDEIO::Job* previewJob = TDEIO::filePreview(list, size, size);
connect(previewJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
&netaccess, TQT_SLOT(slotPreview(const KFileItem*, const TQPixmap&)));
connect(previewJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
&netaccess, TQ_SLOT(slotPreview(const KFileItem*, const TQPixmap&)));
TDEIO::NetAccess::synchronousRun(previewJob, Kernel::self()->widget());
return netaccess.m_preview;
@ -86,8 +86,8 @@ TQPixmap NetAccess::filePreview(KFileItem* item, int size) {
KFileItemList list;
list.append(item);
TDEIO::Job* previewJob = TDEIO::filePreview(list, size, size);
connect(previewJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
&netaccess, TQT_SLOT(slotPreview(const KFileItem*, const TQPixmap&)));
connect(previewJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
&netaccess, TQ_SLOT(slotPreview(const KFileItem*, const TQPixmap&)));
TDEIO::NetAccess::synchronousRun(previewJob, Kernel::self()->widget());
return netaccess.m_preview;

@ -26,7 +26,7 @@ namespace TDEIO {
namespace Tellico {
class NetAccess : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -62,13 +62,13 @@ void DetailedEntryItem::setState(State state_) {
if(!m_timer) {
m_timer = new TQTimer();
m_timer->connect(m_timer, TQT_SIGNAL(timeout()), listView(), TQT_SLOT(triggerUpdate()));
m_timer->connect(m_timer, TQ_SIGNAL(timeout()), listView(), TQ_SLOT(triggerUpdate()));
}
m_timer->start(30 * 1000); // every 30 seconds
}
// have to put this in a timer, or it doesn't update properly
TQTimer::singleShot(500, listView(), TQT_SLOT(triggerUpdate()));
TQTimer::singleShot(500, listView(), TQ_SLOT(triggerUpdate()));
}
void DetailedEntryItem::paintCell(TQPainter* p_, const TQColorGroup& cg_,

@ -50,23 +50,23 @@ DetailedListView::DetailedListView(TQWidget* parent_, const char* name_/*=0*/)
setShowSortIndicator(true);
setShadeSortColumn(true);
// connect(this, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
TQT_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)));
connect(header(), TQT_SIGNAL(indexChange(int, int, int)),
TQT_SLOT(slotUpdatePixmap()));
// connect(this, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
TQ_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)));
connect(header(), TQ_SIGNAL(indexChange(int, int, int)),
TQ_SLOT(slotUpdatePixmap()));
// header menu
header()->setClickEnabled(true);
header()->installEventFilter(this);
connect(header(), TQT_SIGNAL(sizeChange(int, int, int)),
this, TQT_SLOT(slotCacheColumnWidth(int, int, int)));
connect(header(), TQ_SIGNAL(sizeChange(int, int, int)),
this, TQ_SLOT(slotCacheColumnWidth(int, int, int)));
m_headerMenu = new TDEPopupMenu(this);
m_headerMenu->setCheckable(true);
m_headerMenu->insertTitle(i18n("View Columns"));
connect(m_headerMenu, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotHeaderMenuActivated(int)));
connect(m_headerMenu, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotHeaderMenuActivated(int)));
m_checkPix = UserIcon(TQString::fromLatin1("checkmark"));
}
@ -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;
@ -377,9 +377,9 @@ Tellico::DetailedEntryItem* DetailedListView::locateItem(Data::EntryPtr entry_)
bool DetailedListView::eventFilter(TQObject* obj_, TQEvent* ev_) {
if(ev_->type() == TQEvent::MouseButtonPress
&& TQT_TQMOUSEEVENT(ev_)->button() == Qt::RightButton
&& TQT_BASE_OBJECT(obj_) == TQT_BASE_OBJECT(header())) {
m_headerMenu->popup(TQT_TQMOUSEEVENT(ev_)->globalPos());
&& static_cast<TQMouseEvent*>(ev_)->button() == TQt::RightButton
&& obj_ == header()) {
m_headerMenu->popup(static_cast<TQMouseEvent*>(ev_)->globalPos());
return true;
}
return GUI::ListView::eventFilter(obj_, ev_);
@ -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;

@ -34,7 +34,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class DetailedListView : public GUI::ListView, public Observer {
Q_OBJECT
TQ_OBJECT
public:

@ -149,7 +149,7 @@ bool Document::openDocument(const KURL& url_) {
// }
if(m_importer->hasImages()) {
m_cancelImageWriting = false;
TQTimer::singleShot(500, this, TQT_SLOT(slotLoadAllImages()));
TQTimer::singleShot(500, this, TQ_SLOT(slotLoadAllImages()));
} else {
emit signalCollectionImagesLoaded(m_coll);
m_importer->deleteLater();
@ -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) {

@ -39,7 +39,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class Document : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -39,7 +39,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class EntryGroup : public TQObject, public EntryVec {
Q_OBJECT
TQ_OBJECT
public:
@ -239,7 +239,7 @@ private:
PtrVector<EntryGroup> m_groups;
};
class EntryCmp : public std::binary_function<EntryPtr, EntryPtr, bool> {
class EntryCmp : public std::function<bool(EntryPtr, EntryPtr)> {
public:
EntryCmp(const TQString& field) : m_field(field) {}

@ -67,10 +67,10 @@ EntryEditDialog::EntryEditDialog(TQWidget* parent_, const char* name_)
setButtonGuiItem(m_saveBtn, save);
enableButton(m_saveBtn, false);
connect(this, TQT_SIGNAL(applyClicked()), TQT_SLOT(slotHandleSave()));
connect(this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(slotHandleNew()));
connect(this, TQT_SIGNAL(user2Clicked()), TQT_SLOT(slotGoNextEntry()));
connect(this, TQT_SIGNAL(user3Clicked()), TQT_SLOT(slotGoPrevEntry()));
connect(this, TQ_SIGNAL(applyClicked()), TQ_SLOT(slotHandleSave()));
connect(this, TQ_SIGNAL(user1Clicked()), TQ_SLOT(slotHandleNew()));
connect(this, TQ_SIGNAL(user2Clicked()), TQ_SLOT(slotGoNextEntry()));
connect(this, TQ_SIGNAL(user3Clicked()), TQ_SLOT(slotGoPrevEntry()));
KGuiItem prev;
prev.setIconName(TQString::fromLatin1(TQApplication::reverseLayout() ? "forward" : "back"));
@ -87,9 +87,9 @@ EntryEditDialog::EntryEditDialog(TQWidget* parent_, const char* name_)
TDEAccel* accel = new TDEAccel(this);
accel->insert(TQString::fromLatin1("Go Prev"), TQString(), prev.toolTip(), TQt::Key_PageUp,
Controller::self(), TQT_SLOT(slotGoPrevEntry()));
Controller::self(), TQ_SLOT(slotGoPrevEntry()));
accel->insert(TQString::fromLatin1("Go Next"), TQString(), next.toolTip(), TQt::Key_PageDown,
Controller::self(), TQT_SLOT(slotGoNextEntry()));
Controller::self(), TQ_SLOT(slotGoNextEntry()));
setHelp(TQString::fromLatin1("entry-editor"));
@ -194,7 +194,7 @@ void EntryEditDialog::setLayout(Data::CollPtr coll_) {
if(!widget) {
continue;
}
connect(widget, TQT_SIGNAL(modified()), TQT_SLOT(slotSetModified()));
connect(widget, TQ_SIGNAL(modified()), TQ_SLOT(slotSetModified()));
if(!focusedFirst && widget->isFocusEnabled()) {
widget->setFocus();
focusedFirst = true;
@ -708,10 +708,10 @@ void EntryEditDialog::modifyField(Data::CollPtr coll_, Data::FieldPtr oldField_,
TQObjectList* childList = widget->parentWidget()->queryList("Tellico::GUI::FieldWidget", 0, false, false);
TQObjectListIt it(*childList);
for(it.toFirst(); it.current(); ++it) {
maxWidth = TQMAX(maxWidth, static_cast<GUI::FieldWidget*>(TQT_TQWIDGET(it.current()))->labelWidth());
maxWidth = TQMAX(maxWidth, static_cast<GUI::FieldWidget*>(it.current())->labelWidth());
}
for(it.toFirst(); it.current(); ++it) {
static_cast<GUI::FieldWidget*>(TQT_TQWIDGET(it.current()))->setLabelWidth(maxWidth);
static_cast<GUI::FieldWidget*>(it.current())->setLabelWidth(maxWidth);
}
delete childList;
}

@ -32,7 +32,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class EntryEditDialog : public KDialogBase, public Observer {
Q_OBJECT
TQ_OBJECT
// needed for completion object support

@ -30,7 +30,7 @@ TQPixmap* EntryIconFactory::createPixmap(const TQIconSet&, TQIconSet::Size, TQIc
// if we're 22x22 or smaller, just use entry icon
if(m_size < 23) {
TQImage entryImg = entryPix.convertToImage();
entryPix.convertFromImage(entryImg.smoothScale(m_size, m_size, TQ_ScaleMin), 0);
entryPix.convertFromImage(entryImg.smoothScale(m_size, m_size, TQImage::ScaleMin), 0);
return new TQPixmap(entryPix);
}

@ -57,10 +57,10 @@ EntryIconView::EntryIconView(TQWidget* parent_, const char* name_/*=0*/)
m_defaultPixmaps.setAutoDelete(true);
connect(this, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
connect(this, TQT_SIGNAL(doubleClicked(TQIconViewItem*)), TQT_SLOT(slotDoubleClicked(TQIconViewItem*)));
connect(this, TQT_SIGNAL(contextMenuRequested(TQIconViewItem*, const TQPoint&)),
TQT_SLOT(slotShowContextMenu(TQIconViewItem*, const TQPoint&)));
connect(this, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
connect(this, TQ_SIGNAL(doubleClicked(TQIconViewItem*)), TQ_SLOT(slotDoubleClicked(TQIconViewItem*)));
connect(this, TQ_SIGNAL(contextMenuRequested(TQIconViewItem*, const TQPoint&)),
TQ_SLOT(slotShowContextMenu(TQIconViewItem*, const TQPoint&)));
}
EntryIconView::~EntryIconView() {
@ -105,7 +105,7 @@ const TQPixmap& EntryIconView::defaultPixmap() {
tmp = UserIcon(TQString::fromLatin1("tellico"));
}
if(TQMAX(tmp.width(), tmp.height()) > static_cast<int>(MIN_ENTRY_ICON_SIZE)) {
tmp.convertFromImage(tmp.convertToImage().smoothScale(m_maxIconWidth, m_maxIconHeight, TQ_ScaleMin));
tmp.convertFromImage(tmp.convertToImage().smoothScale(m_maxIconWidth, m_maxIconHeight, TQImage::ScaleMin));
}
pix = new TQPixmap(tmp);
m_defaultPixmaps.insert(m_coll->type(), pix);
@ -282,14 +282,14 @@ void EntryIconView::slotShowContextMenu(TQIconViewItem* item_, const TQPoint& po
for(TQStringList::ConstIterator it = titles.begin(); it != titles.end(); ++it) {
sortMenu.insertItem(*it);
}
connect(&sortMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSortMenuActivated(int)));
connect(&sortMenu, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSortMenuActivated(int)));
menu.insertItem(i18n("&Sort By"), &sortMenu);
menu.exec(point_);
}
void EntryIconView::slotSortMenuActivated(int id_) {
const TDEPopupMenu* menu = ::tqqt_cast<TDEPopupMenu*>(sender());
const TDEPopupMenu* menu = ::tqt_cast<TDEPopupMenu*>(sender());
if(menu) {
TQString title = menu->text(id_);
Data::FieldPtr f = m_coll->fieldByTitle(title);
@ -418,7 +418,7 @@ void EntryIconViewItem::paintText(TQPainter* p_, const TQColorGroup &cg_) {
p_->drawRoundRect(tr, 1000/tr.width(), 1000/tr.height());
p_->setPen(TQPen(cg_.highlightedText()));
} else {
if(iconView()->itemTextBackground() != Qt::NoBrush) {
if(iconView()->itemTextBackground() != TQt::NoBrush) {
p_->fillRect(tr, iconView()->itemTextBackground());
}
p_->setPen(cg_.text());

@ -32,7 +32,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class EntryIconView : public TDEIconView, public Observer {
Q_OBJECT
TQ_OBJECT
friend class EntryIconViewItem;

@ -35,11 +35,11 @@ EntryMerger::EntryMerger(Data::EntryVec entries_, TQObject* parent_)
TQString label = i18n("Merging entries...");
ProgressItem& item = ProgressManager::self()->newProgressItem(this, label, true /*canCancel*/);
item.setTotalSteps(m_origCount);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
// done if no entries to merge
if(m_origCount < 2) {
TQTimer::singleShot(500, this, TQT_SLOT(slotCleanup()));
TQTimer::singleShot(500, this, TQ_SLOT(slotCleanup()));
} else {
slotStartNext(); // starts fetching
}
@ -72,9 +72,9 @@ void EntryMerger::slotStartNext() {
m_entriesToCheck.remove(baseEntry);
if(m_cancelled || m_entriesToCheck.count() < 2) {
TQTimer::singleShot(0, this, TQT_SLOT(slotCleanup()));
TQTimer::singleShot(0, this, TQ_SLOT(slotCleanup()));
} else {
TQTimer::singleShot(0, this, TQT_SLOT(slotStartNext()));
TQTimer::singleShot(0, this, TQ_SLOT(slotStartNext()));
}
}

@ -24,7 +24,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class EntryMerger : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
EntryMerger(Data::EntryVec entries, TQObject* parent);

@ -42,10 +42,10 @@ EntryUpdater::EntryUpdater(Data::CollPtr coll_, Data::EntryVec entries_, TQObjec
// for now, we're assuming all entries are same collection type
m_fetchers = Fetch::Manager::self()->createUpdateFetchers(m_coll->type());
for(Fetch::FetcherVec::Iterator it = m_fetchers.begin(); it != m_fetchers.end(); ++it) {
connect(it.data(), TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQT_SLOT(slotResult(Tellico::Fetch::SearchResult*)));
connect(it.data(), TQT_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)),
TQT_SLOT(slotDone()));
connect(it.data(), TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQ_SLOT(slotResult(Tellico::Fetch::SearchResult*)));
connect(it.data(), TQ_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)),
TQ_SLOT(slotDone()));
}
init();
}
@ -59,10 +59,10 @@ EntryUpdater::EntryUpdater(const TQString& source_, Data::CollPtr coll_, Data::E
Fetch::Fetcher::Ptr f = Fetch::Manager::self()->createUpdateFetcher(m_coll->type(), source_);
if(f) {
m_fetchers.append(f);
connect(f, TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQT_SLOT(slotResult(Tellico::Fetch::SearchResult*)));
connect(f, TQT_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)),
TQT_SLOT(slotDone()));
connect(f, TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQ_SLOT(slotResult(Tellico::Fetch::SearchResult*)));
connect(f, TQ_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)),
TQ_SLOT(slotDone()));
}
init();
}
@ -85,11 +85,11 @@ void EntryUpdater::init() {
Kernel::self()->beginCommandGroup(i18n("Update Entries"));
ProgressItem& item = ProgressManager::self()->newProgressItem(this, label, true /*canCancel*/);
item.setTotalSteps(m_fetchers.count() * m_origEntryCount);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
// done if no fetchers available
if(m_fetchers.isEmpty()) {
TQTimer::singleShot(500, this, TQT_SLOT(slotCleanup()));
TQTimer::singleShot(500, this, TQ_SLOT(slotCleanup()));
} else {
slotStartNext(); // starts fetching
}
@ -107,7 +107,7 @@ void EntryUpdater::slotStartNext() {
void EntryUpdater::slotDone() {
if(m_cancelled) {
myLog() << "EntryUpdater::slotDone() - cancelled" << endl;
TQTimer::singleShot(500, this, TQT_SLOT(slotCleanup()));
TQTimer::singleShot(500, this, TQ_SLOT(slotCleanup()));
return;
}
@ -125,13 +125,13 @@ void EntryUpdater::slotDone() {
m_entriesToUpdate.remove(m_entriesToUpdate.begin());
// if there are no more entries, and this is the last fetcher, time to delete
if(m_entriesToUpdate.isEmpty()) {
TQTimer::singleShot(500, this, TQT_SLOT(slotCleanup()));
TQTimer::singleShot(500, this, TQ_SLOT(slotCleanup()));
return;
}
}
kapp->processEvents();
tdeApp->processEvents();
// so the entry updater can clean up a bit
TQTimer::singleShot(500, this, TQT_SLOT(slotStartNext()));
TQTimer::singleShot(500, this, TQ_SLOT(slotStartNext()));
}
void EntryUpdater::slotResult(Fetch::SearchResult* result_) {
@ -149,7 +149,7 @@ void EntryUpdater::slotResult(Fetch::SearchResult* result_) {
result_->fetcher->stop();
}
}
kapp->processEvents();
tdeApp->processEvents();
}
void EntryUpdater::slotCancel() {

@ -26,7 +26,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class EntryUpdater : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
EntryUpdater(Data::CollPtr coll, Data::EntryVec entries, TQObject* parent);

@ -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>
@ -65,9 +65,9 @@ EntryView::EntryView(TQWidget* parent_, const char* name_) : TDEHTMLPart(new Ent
DropHandler* drophandler = new DropHandler(this);
view()->installEventFilter(drophandler);
connect(browserExtension(), TQT_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
TQT_SLOT(slotOpenURL(const KURL&)));
connect(kapp, TQT_SIGNAL(tdedisplayPaletteChanged()), TQT_SLOT(slotResetColors()));
connect(browserExtension(), TQ_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
TQ_SLOT(slotOpenURL(const KURL&)));
connect(tdeApp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(slotResetColors()));
}
EntryView::~EntryView() {
@ -305,7 +305,7 @@ void EntryView::slotOpenURL(const KURL& url_) {
void EntryView::slotReloadEntry() {
// this slot should only be connected in setXSLTFile()
// must disconnect the signal first, otherwise, get an infinite loop
disconnect(TQT_SIGNAL(completed()));
disconnect(TQ_SIGNAL(completed()));
closeURL(); // this is needed to stop everything, for some reason
view()->setUpdatesEnabled(true);
@ -371,7 +371,7 @@ void EntryView::resetColors() {
// don't flicker
view()->setUpdatesEnabled(false);
openURL(m_tempFile->name());
connect(this, TQT_SIGNAL(completed()), TQT_SLOT(slotReloadEntry()));
connect(this, TQ_SIGNAL(completed()), TQ_SLOT(slotReloadEntry()));
}
#include "entryview.moc"

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class EntryView : public TDEHTMLPart {
Q_OBJECT
TQ_OBJECT
public:
@ -107,7 +107,7 @@ private:
// stupid naming on my part, I need to subclass the view to
// add a slot. EntryView is really a part though
class EntryViewWidget : public TDEHTMLView {
Q_OBJECT
TQ_OBJECT
public:
EntryViewWidget(TDEHTMLPart* part, TQWidget* parent);
public slots:

@ -50,7 +50,7 @@ ExportDialog::ExportDialog(Export::Format format_, Data::CollPtr coll_, TQWidget
TQWidget* widget = new TQWidget(this);
TQVBoxLayout* topLayout = new TQVBoxLayout(widget, 0, spacingHint());
TQGroupBox* group1 = new TQGroupBox(1, Qt::Horizontal, i18n("Formatting"), widget);
TQGroupBox* group1 = new TQGroupBox(1, TQt::Horizontal, i18n("Formatting"), widget);
topLayout->addWidget(group1, 0);
m_formatFields = new TQCheckBox(i18n("Format all fields"), group1);
m_formatFields->setChecked(false);
@ -61,7 +61,7 @@ ExportDialog::ExportDialog(Export::Format format_, Data::CollPtr coll_, TQWidget
TQWhatsThis::add(m_exportSelected, i18n("If checked, only the currently selected entries will "
"be exported."));
TQButtonGroup* bg = new TQButtonGroup(1, Qt::Horizontal, i18n("Encoding"), widget);
TQButtonGroup* bg = new TQButtonGroup(1, TQt::Horizontal, i18n("Encoding"), widget);
topLayout->addWidget(bg, 0);
m_encodeUTF8 = new TQRadioButton(i18n("Encode in Unicode (UTF-8)"), bg);
m_encodeUTF8->setChecked(true);
@ -88,7 +88,7 @@ ExportDialog::ExportDialog(Export::Format format_, Data::CollPtr coll_, TQWidget
} else if(format_ == Export::Alexandria || format_ == Export::PilotDB) {
bg->setEnabled(false);
}
connect(this, TQT_SIGNAL(okClicked()), TQT_SLOT(slotSaveOptions()));
connect(this, TQ_SIGNAL(okClicked()), TQ_SLOT(slotSaveOptions()));
}
ExportDialog::~ExportDialog() {

@ -32,7 +32,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ExportDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -321,10 +321,10 @@ void AmazonFetcher::doSearch() {
// myDebug() << "AmazonFetcher::search() - url: " << newUrl.url() << endl;
m_job = TDEIO::get(newUrl, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void AmazonFetcher::stop() {
@ -869,8 +869,8 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher
m_siteCombo->insertItem(i18n("Japan"), JP);
m_siteCombo->insertItem(i18n("France"), FR);
m_siteCombo->insertItem(i18n("Canada"), CA);
connect(m_siteCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified()));
connect(m_siteCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSiteChanged()));
connect(m_siteCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified()));
connect(m_siteCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSiteChanged()));
l->addWidget(m_siteCombo, row, 1);
TQString w = i18n("Amazon.com provides data from several different localized sites. Choose the one "
"you wish to use for this data source.");
@ -885,7 +885,7 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher
m_imageCombo->insertItem(i18n("Medium Image"), MediumImage);
m_imageCombo->insertItem(i18n("Large Image"), LargeImage);
m_imageCombo->insertItem(i18n("No Image"), NoImage);
connect(m_imageCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified()));
connect(m_imageCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified()));
l->addWidget(m_imageCombo, row, 1);
w = i18n("The cover image may be downloaded as well. However, too many large images in the "
"collection may degrade performance.");
@ -896,7 +896,7 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher
label = new TQLabel(i18n("&Associate's ID: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_assocEdit = new KLineEdit(optionsWidget());
connect(m_assocEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_assocEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_assocEdit, row, 1);
w = i18n("The associate's id identifies the person accessing the Amazon.com Web Services, and is included "
"in any links to the Amazon.com site.");
@ -907,13 +907,13 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher
label = new TQLabel(i18n("Access key: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_accessEdit = new KLineEdit(optionsWidget());
connect(m_accessEdit, SIGNAL(textChanged(const TQString&)), SLOT(slotSetModified()));
connect(m_accessEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_accessEdit, row, 1);
label = new TQLabel(i18n("Secret Key: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_secretKeyEdit = new KLineEdit(optionsWidget());
connect(m_secretKeyEdit, SIGNAL(textChanged(const TQString&)), SLOT(slotSetModified()));
connect(m_secretKeyEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_secretKeyEdit, row, 1);
l->setRowStretch(++row, 10);

@ -47,7 +47,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class AmazonFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:
@ -138,7 +138,7 @@ private:
};
class AmazonFetcher::ConfigWidget : public Fetch::ConfigWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -91,10 +91,10 @@ void AnimeNfoFetcher::search(FetchKey key_, const TQString& value_) {
// myDebug() << "AnimeNfoFetcher::search() - url: " << u.url() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void AnimeNfoFetcher::stop() {

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class AnimeNfoFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -24,7 +24,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tqdom.h>
@ -96,10 +96,10 @@ void ArxivFetcher::doSearch() {
}
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void ArxivFetcher::stop() {

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ArxivFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -79,10 +79,10 @@ void BibsonomyFetcher::search(FetchKey key_, const TQString& value_) {
}
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void BibsonomyFetcher::stop() {

@ -30,7 +30,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class BibsonomyFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -80,10 +80,10 @@ void CitebaseFetcher::search(FetchKey key_, const TQString& value_) {
}
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void CitebaseFetcher::stop() {

@ -30,7 +30,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class CitebaseFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -45,7 +45,7 @@ void ConfigWidget::addFieldsWidget(const StringMap& customFields_, const TQStrin
if(fieldsToAdd_.contains(it.key())) {
cb->setChecked(true);
}
connect(cb, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetModified()));
connect(cb, TQ_SIGNAL(clicked()), TQ_SLOT(slotSetModified()));
}
TDEAcceleratorManager::manage(this);

@ -30,7 +30,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ConfigWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -104,10 +104,10 @@ void CrossRefFetcher::search(FetchKey key_, const TQString& value_) {
}
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void CrossRefFetcher::stop() {
@ -352,7 +352,7 @@ CrossRefFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const CrossRefFet
TQLabel* label = new TQLabel(i18n("&Username: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_userEdit = new KLineEdit(optionsWidget());
connect(m_userEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_userEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_userEdit, row, 1);
TQString w = i18n("A username and password is required to access the CrossRef service. The password is "
"stored as plain text in the Tellico configuration file.");
@ -363,7 +363,7 @@ CrossRefFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const CrossRefFet
label = new TQLabel(i18n("&Password: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_passEdit = new KLineEdit(optionsWidget());
connect(m_passEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_passEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_passEdit, row, 1);
TQWhatsThis::add(label, w);
TQWhatsThis::add(m_passEdit, w);

@ -35,7 +35,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class CrossRefFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tdeio/job.h>
@ -128,10 +128,10 @@ void DiscogsFetcher::doSearch() {
// myDebug() << "DiscogsFetcher::search() - url: " << u.url() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void DiscogsFetcher::stop() {
@ -357,7 +357,7 @@ DiscogsFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const DiscogsFetch
l->addWidget(label, ++row, 0);
m_apiKeyEdit = new KLineEdit(optionsWidget());
connect(m_apiKeyEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_apiKeyEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_apiKeyEdit, row, 1);
TQString w = i18n("With your discogs.com account you receive an API key for the usage of their XML-based interface "
"(See http://www.discogs.com/help/api).");
@ -366,7 +366,7 @@ DiscogsFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const DiscogsFetch
label->setBuddy(m_apiKeyEdit);
m_fetchImageCheck = new TQCheckBox(i18n("Download cover &image"), optionsWidget());
connect(m_fetchImageCheck, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetModified()));
connect(m_fetchImageCheck, TQ_SIGNAL(clicked()), TQ_SLOT(slotSetModified()));
++row;
l->addMultiCellWidget(m_fetchImageCheck, row, row, 0, 1);
w = i18n("The cover image may be downloaded as well. However, too many large images in the "

@ -40,7 +40,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class DiscogsFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@
#include <tdelocale.h>
#include <tdeconfig.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeio/job.h>
#include <tqdom.h>
@ -131,10 +131,10 @@ void EntrezFetcher::search(FetchKey key_, const TQString& value_) {
m_step = Search;
// myLog() << "EntrezFetcher::doSearch() - url: " << u.url() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void EntrezFetcher::continueSearch() {
@ -256,10 +256,10 @@ void EntrezFetcher::doSummary() {
m_step = Summary;
// myLog() << "EntrezFetcher::searchResults() - url: " << u.url() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void EntrezFetcher::summaryResults() {

@ -36,7 +36,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class EntrezFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -27,7 +27,7 @@
#include <tdelocale.h>
#include <tdeconfig.h>
#include <kprocess.h>
#include <tdeprocess.h>
#include <kurlrequester.h>
#include <tdeaccelmanager.h>
@ -163,9 +163,9 @@ void ExecExternalFetcher::startSearch(const TQStringList& args_) {
#endif
m_process = new TDEProcess();
connect(m_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQT_SLOT(slotData(TDEProcess*, char*, int)));
connect(m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQT_SLOT(slotError(TDEProcess*, char*, int)));
connect(m_process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(slotProcessExited(TDEProcess*)));
connect(m_process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQ_SLOT(slotData(TDEProcess*, char*, int)));
connect(m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQ_SLOT(slotError(TDEProcess*, char*, int)));
connect(m_process, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(slotProcessExited(TDEProcess*)));
*m_process << m_path << args_;
if(!m_process->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput)) {
myDebug() << "ExecExternalFetcher::startSearch() - process failed to start" << endl;
@ -346,7 +346,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt
TQLabel* label = new TQLabel(i18n("Collection &type:"), optionsWidget());
l->addWidget(label, ++row, 0);
m_collCombo = new GUI::CollectionTypeCombo(optionsWidget());
connect(m_collCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified()));
connect(m_collCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified()));
l->addWidget(m_collCombo, row, 1);
TQString w = i18n("Set the collection type of the data returned from the external application.");
TQWhatsThis::add(label, w);
@ -362,7 +362,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt
m_formatCombo->insertItem(it.data(), it.key());
}
}
connect(m_formatCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified()));
connect(m_formatCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified()));
l->addWidget(m_formatCombo, row, 1);
w = i18n("Set the result type of the data returned from the external application.");
TQWhatsThis::add(label, w);
@ -372,7 +372,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt
label = new TQLabel(i18n("Application &path: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_pathEdit = new KURLRequester(optionsWidget());
connect(m_pathEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_pathEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_pathEdit, row, 1);
w = i18n("Set the path of the application to run that should output a valid Tellico data file.");
TQWhatsThis::add(label, w);
@ -410,7 +410,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt
cb->setChecked(false);
le->setEnabled(false);
}
connect(cb, TQT_SIGNAL(toggled(bool)), le, TQT_SLOT(setEnabled(bool)));
connect(cb, TQ_SIGNAL(toggled(bool)), le, TQ_SLOT(setEnabled(bool)));
TQWhatsThis::add(cb, w);
TQWhatsThis::add(le, w2);
}
@ -435,7 +435,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt
m_cbUpdate->setChecked(false);
m_leUpdate->setEnabled(false);
}
connect(m_cbUpdate, TQT_SIGNAL(toggled(bool)), m_leUpdate, TQT_SLOT(setEnabled(bool)));
connect(m_cbUpdate, TQ_SIGNAL(toggled(bool)), m_leUpdate, TQ_SLOT(setEnabled(bool)));
l->setRowStretch(++row, 1);
@ -549,7 +549,7 @@ void ExecExternalFetcher::ConfigWidget::removed() {
return;
}
if(!m_newStuffName.isEmpty()) {
NewStuff::Manager man(TQT_TQOBJECT(this));
NewStuff::Manager man(this);
man.removeScript(m_newStuffName);
}
}

@ -39,7 +39,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ExecExternalFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -36,7 +36,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class Fetcher : public TQObject, public TDEShared {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -163,10 +163,10 @@ void Manager::startSearch(const TQString& source_, FetchKey key_, const TQString
for(FetcherVec::Iterator it = m_fetchers.begin(); it != m_fetchers.end(); ++it, ++i) {
if(source_ == it->source()) {
++m_count; // Fetcher::search() might emit done(), so increment before calling search()
connect(it.data(), TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)));
connect(it.data(), TQT_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)),
TQT_SLOT(slotFetcherDone(Tellico::Fetch::Fetcher::Ptr)));
connect(it.data(), TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)));
connect(it.data(), TQ_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)),
TQ_SLOT(slotFetcherDone(Tellico::Fetch::Fetcher::Ptr)));
it->search(key_, value_);
m_currentFetcherIndex = i;
break;
@ -183,10 +183,10 @@ void Manager::continueSearch() {
Fetcher::Ptr f = m_fetchers[m_currentFetcherIndex];
if(f && f->hasMoreResults()) {
++m_count;
connect(f, TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)));
connect(f, TQT_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)),
TQT_SLOT(slotFetcherDone(Tellico::Fetch::Fetcher::Ptr)));
connect(f, TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)));
connect(f, TQ_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)),
TQ_SLOT(slotFetcherDone(Tellico::Fetch::Fetcher::Ptr)));
f->continueSearch();
} else {
emit signalDone();

@ -44,7 +44,7 @@ typedef Vector<Fetcher> FetcherVec;
* @author Robby Stephenson
*/
class Manager : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -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")
@ -229,9 +229,9 @@ void GCstarPluginFetcher::search(FetchKey key_, const TQString& value_) {
}
m_process = new TDEProcess();
connect(m_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQT_SLOT(slotData(TDEProcess*, char*, int)));
connect(m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQT_SLOT(slotError(TDEProcess*, char*, int)));
connect(m_process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(slotProcessExited(TDEProcess*)));
connect(m_process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQ_SLOT(slotData(TDEProcess*, char*, int)));
connect(m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQ_SLOT(slotError(TDEProcess*, char*, int)));
connect(m_process, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(slotProcessExited(TDEProcess*)));
TQStringList args;
args << gcstar << TQString::fromLatin1("-x")
<< TQString::fromLatin1("--collection") << gcstarCollection
@ -398,8 +398,8 @@ GCstarPluginFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const GCstarP
TQLabel* label = new TQLabel(i18n("Collection &type:"), optionsWidget());
l->addWidget(label, ++row, 0);
m_collCombo = new GUI::CollectionTypeCombo(optionsWidget());
connect(m_collCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified()));
connect(m_collCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotTypeChanged()));
connect(m_collCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified()));
connect(m_collCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotTypeChanged()));
l->addMultiCellWidget(m_collCombo, row, row, 1, 3);
TQString w = i18n("Set the collection type of the data returned from the plugin.");
TQWhatsThis::add(label, w);
@ -409,8 +409,8 @@ GCstarPluginFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const GCstarP
label = new TQLabel(i18n("&Plugin: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_pluginCombo = new GUI::ComboBox(optionsWidget());
connect(m_pluginCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified()));
connect(m_pluginCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotPluginChanged()));
connect(m_pluginCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified()));
connect(m_pluginCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotPluginChanged()));
l->addMultiCellWidget(m_pluginCombo, row, row, 1, 3);
w = i18n("Select the GCstar plugin used for the data source.");
TQWhatsThis::add(label, w);

@ -34,7 +34,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class GCstarPluginFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:
@ -92,7 +92,7 @@ private:
};
class GCstarPluginFetcher::ConfigWidget : public Fetch::ConfigWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -114,10 +114,10 @@ void GoogleScholarFetcher::doSearch() {
// myDebug() << "GoogleScholarFetcher::search() - url: " << u.url() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void GoogleScholarFetcher::stop() {

@ -34,7 +34,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class GoogleScholarFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -110,12 +110,12 @@ void IBSFetcher::search(FetchKey key_, const TQString& value_) {
// myDebug() << "IBSFetcher::search() - url: " << u.url() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
if(key_ == ISBN) {
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotCompleteISBN(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(slotCompleteISBN(TDEIO::Job*)));
} else {
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(slotComplete(TDEIO::Job*)));
}
}

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class IBSFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -165,12 +165,12 @@ void IMDBFetcher::search(FetchKey key_, const TQString& value_) {
#endif
m_job = TDEIO::get(m_url, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL&)),
TQT_SLOT(slotRedirection(TDEIO::Job*, const KURL&)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL&)),
TQ_SLOT(slotRedirection(TDEIO::Job*, const KURL&)));
}
void IMDBFetcher::continueSearch() {
@ -609,12 +609,12 @@ void IMDBFetcher::parseMultipleNameResults() {
m_redirected = true;
m_data.truncate(0);
m_job = TDEIO::get(m_url, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL&)),
TQT_SLOT(slotRedirection(TDEIO::Job*, const KURL&)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL&)),
TQ_SLOT(slotRedirection(TDEIO::Job*, const KURL&)));
// do not stop() here
}
@ -1109,12 +1109,12 @@ void IMDBFetcher::updateEntry(Data::EntryPtr entry_) {
m_url = link;
m_redirected = true; // m_redirected is used as a flag later to tell if we get a single result
m_job = TDEIO::get(m_url, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL&)),
TQT_SLOT(slotRedirection(TDEIO::Job*, const KURL&)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL&)),
TQ_SLOT(slotRedirection(TDEIO::Job*, const KURL&)));
return;
}
// optimistically try searching for title and rely on Collection::sameEntry() to figure things out
@ -1139,7 +1139,7 @@ IMDBFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const IMDBFetcher* fe
TQLabel* label = new TQLabel(i18n("Hos&t: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_hostEdit = new KLineEdit(optionsWidget());
connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_hostEdit, row, 1);
TQString w = i18n("The Internet Movie Database uses several different servers. Choose the one "
"you wish to use.");
@ -1150,7 +1150,7 @@ IMDBFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const IMDBFetcher* fe
label = new TQLabel(i18n("&Maximum cast: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_numCast = new KIntSpinBox(0, 99, 1, 10, 10, optionsWidget());
connect(m_numCast, TQT_SIGNAL(valueChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_numCast, TQ_SIGNAL(valueChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_numCast, row, 1);
w = i18n("The list of cast members may include many people. Set the maximum number returned from the search.");
TQWhatsThis::add(label, w);
@ -1158,7 +1158,7 @@ IMDBFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const IMDBFetcher* fe
label->setBuddy(m_numCast);
m_fetchImageCheck = new TQCheckBox(i18n("Download cover &image"), optionsWidget());
connect(m_fetchImageCheck, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetModified()));
connect(m_fetchImageCheck, TQ_SIGNAL(clicked()), TQ_SLOT(slotSetModified()));
++row;
l->addMultiCellWidget(m_fetchImageCheck, row, row, 0, 1);
w = i18n("The cover image may be downloaded as well. However, too many large images in the "

@ -37,7 +37,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class IMDBFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -22,7 +22,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tqdom.h>
@ -134,10 +134,10 @@ void ISBNdbFetcher::doSearch() {
// myDebug() << "ISBNdbFetcher::search() - url: " << u.url() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void ISBNdbFetcher::stop() {

@ -34,7 +34,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ISBNdbFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -184,10 +184,10 @@ void SRUFetcher::search(FetchKey key_, const TQString& value_) {
// myDebug() << u.prettyURL() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void SRUFetcher::stop() {
@ -439,9 +439,9 @@ SRUConfigWidget::SRUConfigWidget(TQWidget* parent_, const SRUFetcher* fetcher_ /
TQLabel* label = new TQLabel(i18n("Hos&t: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_hostEdit = new GUI::LineEdit(optionsWidget());
connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(signalName(const TQString&)));
connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotCheckHost()));
connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(signalName(const TQString&)));
connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotCheckHost()));
l->addWidget(m_hostEdit, row, 1);
TQString w = i18n("Enter the host name of the server.");
TQWhatsThis::add(label, w);
@ -451,7 +451,7 @@ SRUConfigWidget::SRUConfigWidget(TQWidget* parent_, const SRUFetcher* fetcher_ /
label = new TQLabel(i18n("&Port: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_portSpinBox = new KIntSpinBox(0, 999999, 1, SRU_DEFAULT_PORT, 10, optionsWidget());
connect(m_portSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetModified()));
connect(m_portSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetModified()));
l->addWidget(m_portSpinBox, row, 1);
w = i18n("Enter the port number of the server. The default is %1.").arg(SRU_DEFAULT_PORT);
TQWhatsThis::add(label, w);
@ -461,7 +461,7 @@ SRUConfigWidget::SRUConfigWidget(TQWidget* parent_, const SRUFetcher* fetcher_ /
label = new TQLabel(i18n("Path: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_pathEdit = new GUI::LineEdit(optionsWidget());
connect(m_pathEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_pathEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_pathEdit, row, 1);
w = i18n("Enter the path to the database used by the server.");
TQWhatsThis::add(label, w);
@ -474,7 +474,7 @@ SRUConfigWidget::SRUConfigWidget(TQWidget* parent_, const SRUFetcher* fetcher_ /
m_formatCombo->insertItem(TQString::fromLatin1("MODS"), TQString::fromLatin1("mods"));
m_formatCombo->insertItem(TQString::fromLatin1("MARCXML"), TQString::fromLatin1("marcxml"));
m_formatCombo->insertItem(TQString::fromLatin1("Dublin Core"), TQString::fromLatin1("dc"));
connect(m_formatCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified()));
connect(m_formatCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified()));
l->addWidget(m_formatCombo, row, 1);
w = i18n("Enter the result format used by the server.");
TQWhatsThis::add(label, w);

@ -47,7 +47,7 @@ class SRUConfigWidget;
* @author Robby Stephenson
*/
class SRUFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
friend class SRUConfigWidget;
@ -108,7 +108,7 @@ private:
};
class SRUConfigWidget : public ConfigWidget {
Q_OBJECT
TQ_OBJECT
friend class SRUFetcher;

@ -23,7 +23,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tdeio/job.h>
@ -120,10 +120,10 @@ void YahooFetcher::doSearch() {
// myDebug() << "YahooFetcher::search() - url: " << u.url() << endl;
m_job = TDEIO::get(u, false, false);
connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotComplete(TDEIO::Job*)));
connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotComplete(TDEIO::Job*)));
}
void YahooFetcher::stop() {

@ -36,7 +36,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class YahooFetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -517,9 +517,9 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher*
m_usePreset = new TQCheckBox(i18n("Use preset &server:"), optionsWidget());
l->addWidget(m_usePreset, ++row, 0);
connect(m_usePreset, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotTogglePreset(bool)));
connect(m_usePreset, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotTogglePreset(bool)));
m_serverCombo = new GUI::ComboBox(optionsWidget());
connect(m_serverCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotPresetChanged()));
connect(m_serverCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotPresetChanged()));
l->addWidget(m_serverCombo, row, 1);
++row;
l->addMultiCellWidget(new KSeparator(optionsWidget()), row, row, 0, 1);
@ -528,8 +528,8 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher*
TQLabel* label = new TQLabel(i18n("Hos&t: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_hostEdit = new GUI::LineEdit(optionsWidget());
connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(signalName(const TQString&)));
connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(signalName(const TQString&)));
l->addWidget(m_hostEdit, row, 1);
TQString w = i18n("Enter the host name of the server.");
TQWhatsThis::add(label, w);
@ -539,7 +539,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher*
label = new TQLabel(i18n("&Port: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_portSpinBox = new KIntSpinBox(0, 999999, 1, Z3950_DEFAULT_PORT, 10, optionsWidget());
connect(m_portSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetModified()));
connect(m_portSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetModified()));
l->addWidget(m_portSpinBox, row, 1);
w = i18n("Enter the port number of the server. The default is %1.").arg(Z3950_DEFAULT_PORT);
TQWhatsThis::add(label, w);
@ -549,7 +549,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher*
label = new TQLabel(i18n("&Database: "), optionsWidget());
l->addWidget(label, ++row, 0);
m_databaseEdit = new GUI::LineEdit(optionsWidget());
connect(m_databaseEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_databaseEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_databaseEdit, row, 1);
w = i18n("Enter the database name used by the server.");
TQWhatsThis::add(label, w);
@ -563,7 +563,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher*
m_charSetCombo->insertItem(TQString::fromLatin1("marc8"));
m_charSetCombo->insertItem(TQString::fromLatin1("iso-8859-1"));
m_charSetCombo->insertItem(TQString::fromLatin1("utf-8"));
connect(m_charSetCombo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_charSetCombo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_charSetCombo, row, 1);
w = i18n("Enter the character set encoding used by the z39.50 server. The most likely choice "
"is MARC-8, although ISO-8859-1 is common as well.");
@ -580,7 +580,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher*
m_syntaxCombo->insertItem(TQString::fromLatin1("UNIMARC"), TQString::fromLatin1("unimarc"));
m_syntaxCombo->insertItem(TQString::fromLatin1("USMARC"), TQString::fromLatin1("usmarc"));
m_syntaxCombo->insertItem(TQString::fromLatin1("GRS-1"), TQString::fromLatin1("grs-1"));
connect(m_syntaxCombo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_syntaxCombo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_syntaxCombo, row, 1);
w = i18n("Enter the data format used by the z39.50 server. Tellico will attempt to "
"automatically detect the best setting if <i>auto-detect</i> is selected.");
@ -592,7 +592,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher*
l->addWidget(label, ++row, 0);
m_userEdit = new GUI::LineEdit(optionsWidget());
m_userEdit->setHint(i18n("Optional"));
connect(m_userEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_userEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_userEdit, row, 1);
w = i18n("Enter the authentication user name used by the z39.50 database. Most servers "
"do not need one.");
@ -605,7 +605,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher*
m_passwordEdit = new GUI::LineEdit(optionsWidget());
m_passwordEdit->setHint(i18n("Optional"));
m_passwordEdit->setEchoMode(TQLineEdit::Password);
connect(m_passwordEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified()));
connect(m_passwordEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified()));
l->addWidget(m_passwordEdit, row, 1);
w = i18n("Enter the authentication password used by the z39.50 database. Most servers "
"do not need one. The password will be saved in plain text in the Tellico "

@ -49,7 +49,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class Z3950Fetcher : public Fetcher {
Q_OBJECT
TQ_OBJECT
public:
@ -121,7 +121,7 @@ private:
};
class Z3950Fetcher::ConfigWidget : public Fetch::ConfigWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -107,13 +107,13 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
for(Fetch::KeyMap::ConstIterator it = map.begin(); it != map.end(); ++it) {
m_keyCombo->insertItem(it.data(), it.key());
}
connect(m_keyCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotKeyChanged(int)));
connect(m_keyCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotKeyChanged(int)));
TQWhatsThis::add(m_keyCombo, i18n("Choose the type of search"));
m_searchButton = new KPushButton(box1);
m_searchButton->setGuiItem(KGuiItem(i18n(FETCH_STRING_STOP),
SmallIconSet(TQString::fromLatin1("cancel"))));
connect(m_searchButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotSearchClicked()));
connect(m_searchButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotSearchClicked()));
TQWhatsThis::add(m_searchButton, i18n("Click to start or stop the search"));
// the search button's text changes from search to stop
@ -133,12 +133,12 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
m_multipleISBN = new TQCheckBox(i18n("&Multiple ISBN/UPC search"), box2);
TQWhatsThis::add(m_multipleISBN, i18n("Check this box to search for multiple ISBN or UPC values."));
connect(m_multipleISBN, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotMultipleISBN(bool)));
connect(m_multipleISBN, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotMultipleISBN(bool)));
m_editISBN = new KPushButton(KGuiItem(i18n("Edit List..."), TQString::fromLatin1("text_block")), box2);
m_editISBN->setEnabled(false);
TQWhatsThis::add(m_editISBN, i18n("Click to open a text edit box for entering or editing multiple ISBN values."));
connect(m_editISBN, TQT_SIGNAL(clicked()), TQT_SLOT(slotEditMultipleISBN()));
connect(m_editISBN, TQ_SIGNAL(clicked()), TQ_SLOT(slotEditMultipleISBN()));
// add for spacing
box2->setStretchFactor(new TQWidget(box2), 10);
@ -150,10 +150,10 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
for(Fetch::FetcherVec::Iterator it = sources.begin(); it != sources.end(); ++it) {
m_sourceCombo->insertItem(Fetch::Manager::self()->fetcherIcon(it.data()), (*it).source());
}
connect(m_sourceCombo, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotSourceChanged(const TQString&)));
connect(m_sourceCombo, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(slotSourceChanged(const TQString&)));
TQWhatsThis::add(m_sourceCombo, i18n("Select the database to search"));
TQSplitter* split = new TQSplitter(Qt::Vertical, mainWidget);
TQSplitter* split = new TQSplitter(TQt::Vertical, mainWidget);
topLayout->addWidget(split);
m_listView = new GUI::ListView(split);
@ -171,9 +171,9 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
m_listView->addColumn(i18n("Source"));
m_listView->viewport()->installEventFilter(this);
connect(m_listView, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotShowEntry()));
connect(m_listView, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotShowEntry()));
// double clicking should add the entry
connect(m_listView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), TQT_SLOT(slotAddEntry()));
connect(m_listView, TQ_SIGNAL(doubleClicked(TQListViewItem*)), TQ_SLOT(slotAddEntry()));
TQWhatsThis::add(m_listView, i18n("As results are found, they are added to this list. Selecting one "
"will fetch the complete entry and show it in the view below."));
@ -192,16 +192,16 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
m_addButton = new KPushButton(i18n("&Add Entry"), box3);
m_addButton->setEnabled(false);
m_addButton->setIconSet(UserIconSet(Kernel::self()->collectionTypeName()));
connect(m_addButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddEntry()));
connect(m_addButton, TQ_SIGNAL(clicked()), TQ_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("edit-find"))), box3);
m_moreButton->setEnabled(false);
connect(m_moreButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoreClicked()));
connect(m_moreButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoreClicked()));
TQWhatsThis::add(m_moreButton, i18n("Fetch more results from the current data source"));
KPushButton* clearButton = new KPushButton(KStdGuiItem::clear(), box3);
connect(clearButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotClearClicked()));
connect(clearButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotClearClicked()));
TQWhatsThis::add(clearButton, i18n("Clear all search fields and results"));
TQHBox* bottombox = new TQHBox(mainWidget, "box");
@ -218,34 +218,34 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
m_statusBar->addWidget(m_progress, 0, true);
KPushButton* closeButton = new KPushButton(KStdGuiItem::close(), bottombox);
connect(closeButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotClose()));
connect(closeButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotClose()));
connect(m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotMoveProgress()));
connect(m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotMoveProgress()));
setMinimumWidth(TQMAX(minimumWidth(), FETCH_MIN_WIDTH));
setStatus(i18n("Ready."));
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);
}
connect(Fetch::Manager::self(), TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQT_SLOT(slotResultFound(Tellico::Fetch::SearchResult*)));
connect(Fetch::Manager::self(), TQT_SIGNAL(signalStatus(const TQString&)),
TQT_SLOT(slotStatus(const TQString&)));
connect(Fetch::Manager::self(), TQT_SIGNAL(signalDone()),
TQT_SLOT(slotFetchDone()));
connect(Fetch::Manager::self(), TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)),
TQ_SLOT(slotResultFound(Tellico::Fetch::SearchResult*)));
connect(Fetch::Manager::self(), TQ_SIGNAL(signalStatus(const TQString&)),
TQ_SLOT(slotStatus(const TQString&)));
connect(Fetch::Manager::self(), TQ_SIGNAL(signalDone()),
TQ_SLOT(slotFetchDone()));
// make sure to delete results afterwards
m_results.setAutoDelete(true);
TDEAcceleratorManager::manage(this);
// initialize combos
TQTimer::singleShot(0, this, TQT_SLOT(slotInit()));
TQTimer::singleShot(0, this, TQ_SLOT(slotInit()));
#ifdef ENABLE_WEBCAM
// barcode recognition
@ -258,8 +258,8 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
} else {
m_barcodePreview = 0;
}
connect( m_barcodeRecognitionThread, TQT_SIGNAL(recognized(TQString)), this, TQT_SLOT(slotBarcodeRecognized(TQString)) );
connect( m_barcodeRecognitionThread, TQT_SIGNAL(gotImage(TQImage&)), this, TQT_SLOT(slotBarcodeGotImage(TQImage&)) );
connect( m_barcodeRecognitionThread, TQ_SIGNAL(recognized(TQString)), this, TQ_SLOT(slotBarcodeRecognized(TQString)) );
connect( m_barcodeRecognitionThread, TQ_SIGNAL(gotImage(TQImage&)), this, TQ_SLOT(slotBarcodeGotImage(TQImage&)) );
m_barcodeRecognitionThread->start();
/* //DEBUG
TQImage img( "/home/sebastian/white.png", "PNG" );
@ -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);
@ -339,7 +339,7 @@ void FetchDialog::slotStatus(const TQString& status_) {
// if the queue was empty, start the timer
if(m_statusMessages.count() == 1) {
// wait 2 seconds
TQTimer::singleShot(2000, this, TQT_SLOT(slotUpdateStatus()));
TQTimer::singleShot(2000, this, TQ_SLOT(slotUpdateStatus()));
}
}
@ -351,7 +351,7 @@ void FetchDialog::slotUpdateStatus() {
m_statusMessages.pop_front();
if(!m_statusMessages.isEmpty()) {
// wait 2 seconds
TQTimer::singleShot(2000, this, TQT_SLOT(slotUpdateStatus()));
TQTimer::singleShot(2000, this, TQ_SLOT(slotUpdateStatus()));
}
}
@ -417,7 +417,7 @@ void FetchDialog::slotFetchDone(bool checkISBN /* = true */) {
lay->addWidget(edit);
edit->setText(values.join(TQChar('\n')));
TQWhatsThis::add(edit, s);
connect(dlg, TQT_SIGNAL(okClicked()), dlg, TQT_SLOT(deleteLater()));
connect(dlg, TQ_SIGNAL(okClicked()), dlg, TQ_SLOT(deleteLater()));
dlg->setMainWidget(box);
dlg->setMinimumWidth(TQMAX(dlg->minimumWidth(), FETCH_MIN_WIDTH*2/3));
dlg->show();
@ -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) {
@ -553,10 +553,10 @@ void FetchDialog::slotKeyChanged(int idx_) {
if(key == Fetch::ISBN || key == Fetch::UPC || key == Fetch::LCCN) {
m_multipleISBN->setEnabled(true);
if(key == Fetch::ISBN) {
m_valueLineEdit->setValidator(new ISBNValidator(TQT_TQOBJECT(this)));
m_valueLineEdit->setValidator(new ISBNValidator(this));
} else {
UPCValidator* upc = new UPCValidator(TQT_TQOBJECT(this));
connect(upc, TQT_SIGNAL(signalISBN()), TQT_SLOT(slotUPC2ISBN()));
UPCValidator* upc = new UPCValidator(this);
connect(upc, TQ_SIGNAL(signalISBN()), TQ_SLOT(slotUPC2ISBN()));
m_valueLineEdit->setValidator(upc);
// only want to convert to ISBN if ISBN is accepted by the fetcher
Fetch::KeyMap map = Fetch::Manager::self()->keyMap(m_sourceCombo->currentText());
@ -610,7 +610,7 @@ void FetchDialog::slotEditMultipleISBN() {
KPushButton* fromFileBtn = new KPushButton(SmallIconSet(TQString::fromLatin1("document-open")),
i18n("&Load From File..."), box);
TQWhatsThis::add(fromFileBtn, i18n("<qt>Load the list from a text file.</qt>"));
connect(fromFileBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotLoadISBNList()));
connect(fromFileBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotLoadISBNList()));
dlg.setMainWidget(box);
dlg.setMinimumWidth(TQMAX(dlg.minimumWidth(), FETCH_MIN_WIDTH*2/3));
@ -660,7 +660,7 @@ void FetchDialog::slotUPC2ISBN() {
}
bool FetchDialog::eventFilter(TQObject* obj_, TQEvent* ev_) {
if(TQT_BASE_OBJECT(obj_) == TQT_BASE_OBJECT(m_listView->viewport()) && ev_->type() == TQEvent::Resize) {
if(obj_ == m_listView->viewport() && ev_->type() == TQEvent::Resize) {
adjustColumnWidth();
}
return false;

@ -52,7 +52,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FetchDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -88,7 +88,7 @@ void FetcherConfigDialog::init(Fetch::Type type_) {
m_nameEdit->setFocus();
TQWhatsThis::add(m_nameEdit, w);
label->setBuddy(m_nameEdit);
connect(m_nameEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotNameChanged(const TQString&)));
connect(m_nameEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotNameChanged(const TQString&)));
if(m_newSource) {
label = new TQLabel(i18n("Source &type: "), widget);
@ -121,7 +121,7 @@ void FetcherConfigDialog::init(Fetch::Type type_) {
if(m_newSource) {
m_stack = new TQWidgetStack(widget);
vlay2->addWidget(m_stack);
connect(m_typeCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotNewSourceSelected(int)));
connect(m_typeCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotNewSourceSelected(int)));
int z3950_idx = 0;
const Fetch::TypePairList typeList = Fetch::Manager::self()->typeList();
@ -141,7 +141,7 @@ void FetcherConfigDialog::init(Fetch::Type type_) {
// just add config widget and reparent
m_configWidget->reparent(widget, TQPoint());
vlay2->addWidget(m_configWidget);
connect(m_configWidget, TQT_SIGNAL(signalName(const TQString&)), TQT_SLOT(slotPossibleNewName(const TQString&)));
connect(m_configWidget, TQ_SIGNAL(signalName(const TQString&)), TQ_SLOT(slotPossibleNewName(const TQString&)));
}
setMainWidget(widget);
@ -200,7 +200,7 @@ void FetcherConfigDialog::slotNewSourceSelected(int idx_) {
slotNewSourceSelected(0);
return;
}
connect(cw, TQT_SIGNAL(signalName(const TQString&)), TQT_SLOT(slotPossibleNewName(const TQString&)));
connect(cw, TQ_SIGNAL(signalName(const TQString&)), TQ_SLOT(slotPossibleNewName(const TQString&)));
m_configWidgets.insert(idx_, cw);
m_stack->addWidget(cw);
m_stack->raiseWidget(cw);

@ -34,7 +34,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FetcherConfigDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -385,7 +385,7 @@ TQString Field::formatDate(const TQString& date_) {
d = 1;
}
// rather use ISO date formatting than locale formatting for now. Primarily, it makes sorting just work.
return empty ? date_ : TQString(TQDate(y, m, d).toString(Qt::ISODate));
return empty ? date_ : TQString(TQDate(y, m, d).toString(TQt::ISODate));
// use short form
// return TDEGlobal::locale()->formatDate(date, true);
}

@ -22,7 +22,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FieldCompletion : public TDECompletion {
Q_OBJECT
TQ_OBJECT
public:

@ -39,7 +39,7 @@ class FileHandler::ItemDeleter : public TQObject {
public:
ItemDeleter(TDEIO::Job* job, KFileItem* item) : TQObject(), m_job(job), m_item(item) {
FileHandler::s_deleterList.append(this);
connect(job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(deleteLater()));
connect(job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(deleteLater()));
}
~ItemDeleter() {
FileHandler::s_deleterList.removeRef(this);
@ -82,7 +82,7 @@ FileHandler::FileRef::FileRef(const KURL& url_, bool quiet_, bool allowCompresse
if(allowCompressed_) {
m_device = KFilterDev::deviceForFile(m_filename);
} else {
m_device = TQT_TQIODEVICE(new TQFile(m_filename));
m_device = new TQFile(m_filename);
}
m_isValid = true;
}

@ -78,18 +78,18 @@ void FilterRuleWidget::initWidget() {
setSpacing(4);
m_ruleField = new KComboBox(this);
connect(m_ruleField, TQT_SIGNAL(activated(int)), TQT_SIGNAL(signalModified()));
connect(m_ruleField, TQT_SIGNAL(activated(int)), TQT_SLOT(slotRuleFieldChanged(int)));
connect(m_ruleField, TQ_SIGNAL(activated(int)), TQ_SIGNAL(signalModified()));
connect(m_ruleField, TQ_SIGNAL(activated(int)), TQ_SLOT(slotRuleFieldChanged(int)));
m_ruleFunc = new KComboBox(this);
connect(m_ruleFunc, TQT_SIGNAL(activated(int)), TQT_SIGNAL(signalModified()));
connect(m_ruleFunc, TQ_SIGNAL(activated(int)), TQ_SIGNAL(signalModified()));
m_ruleValue = new KLineEdit(this);
connect(m_ruleValue, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(signalModified()));
connect(m_ruleValue, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(signalModified()));
if(!TDETrader::self()->query(TQString::fromLatin1("KRegExpEditor/KRegExpEditor")).isEmpty()) {
m_editRegExp = new KPushButton(i18n("Edit..."), this);
connect(m_editRegExp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditRegExp()));
connect(m_ruleFunc, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotRuleFunctionChanged(int)));
connect(m_editRegExp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditRegExp()));
connect(m_ruleFunc, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotRuleFunctionChanged(int)));
slotRuleFunctionChanged(m_ruleFunc->currentItem());
}
@ -101,16 +101,16 @@ void FilterRuleWidget::initWidget() {
m_ruleFunc->insertStringList(m_ruleFuncList);
// m_ruleFunc->adjustSize();
// connect(m_ruleField, TQT_SIGNAL(textChanged(const TQString &)),
// this, TQT_SIGNAL(fieldChanged(const TQString &)));
// connect(m_ruleValue, TQT_SIGNAL(textChanged(const TQString &)),
// this, TQT_SIGNAL(contentsChanged(const TQString &)));
// connect(m_ruleField, TQ_SIGNAL(textChanged(const TQString &)),
// this, TQ_SIGNAL(fieldChanged(const TQString &)));
// connect(m_ruleValue, TQ_SIGNAL(textChanged(const TQString &)),
// this, TQ_SIGNAL(contentsChanged(const TQString &)));
}
void FilterRuleWidget::slotEditRegExp() {
if(m_editRegExpDialog == 0) {
m_editRegExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>(TQString::fromLatin1("KRegExpEditor/KRegExpEditor"),
TQString(), TQT_TQOBJECT(this));
TQString(), this);
}
KRegExpEditorInterface* iface = static_cast<KRegExpEditorInterface *>(m_editRegExpDialog->tqt_cast("KRegExpEditorInterface"));
@ -255,7 +255,7 @@ void FilterRuleWidgetLister::setFocus() {
TQWidget* FilterRuleWidgetLister::createWidget(TQWidget* parent_) {
TQWidget* w = new FilterRuleWidget(static_cast<Tellico::FilterRule*>(0), parent_);
connect(w, TQT_SIGNAL(signalModified()), TQT_SIGNAL(signalModified()));
connect(w, TQ_SIGNAL(signalModified()), TQ_SIGNAL(signalModified()));
return w;
}
@ -291,7 +291,7 @@ void FilterDialog::init() {
setMainWidget(page);
TQVBoxLayout* topLayout = new TQVBoxLayout(page, 0, KDialog::spacingHint());
TQGroupBox* m_matchGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Filter Criteria"), page);
TQGroupBox* m_matchGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Filter Criteria"), page);
topLayout->addWidget(m_matchGroup);
TQVButtonGroup* bg = new TQVButtonGroup(m_matchGroup);
@ -300,11 +300,11 @@ void FilterDialog::init() {
m_matchAll = new TQRadioButton(i18n("Match a&ll of the following"), bg);
m_matchAny = new TQRadioButton(i18n("Match an&y of the following"), bg);
m_matchAll->setChecked(true);
connect(bg, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotFilterChanged()));
connect(bg, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotFilterChanged()));
m_ruleLister = new FilterRuleWidgetLister(m_matchGroup);
connect(m_ruleLister, TQT_SIGNAL(widgetRemoved()), TQT_SLOT(slotShrink()));
connect(m_ruleLister, TQT_SIGNAL(signalModified()), TQT_SLOT(slotFilterChanged()));
connect(m_ruleLister, TQ_SIGNAL(widgetRemoved()), TQ_SLOT(slotShrink()));
connect(m_ruleLister, TQ_SIGNAL(signalModified()), TQ_SLOT(slotFilterChanged()));
m_ruleLister->setFocus();
TQHBoxLayout* blay = new TQHBoxLayout(topLayout);
@ -312,14 +312,14 @@ void FilterDialog::init() {
m_filterName = new KLineEdit(page);
blay->addWidget(m_filterName);
connect(m_filterName, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotFilterChanged()));
connect(m_filterName, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotFilterChanged()));
// only when creating a new filter can it be saved
if(m_mode == CreateFilter) {
m_saveFilter = new KPushButton(SmallIconSet(TQString::fromLatin1("filter")), i18n("&Save Filter"), page);
blay->addWidget(m_saveFilter);
m_saveFilter->setEnabled(false);
connect(m_saveFilter, TQT_SIGNAL(clicked()), TQT_SLOT(slotSaveFilter()));
connect(m_saveFilter, TQ_SIGNAL(clicked()), TQ_SLOT(slotSaveFilter()));
enableButtonApply(false);
}
enableButtonOK(false); // disable at start

@ -46,7 +46,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FilterRuleWidget : public TQHBox {
Q_OBJECT
TQ_OBJECT
public:
@ -98,7 +98,7 @@ private:
};
class FilterRuleWidgetLister : public KWidgetLister {
Q_OBJECT
TQ_OBJECT
public:
@ -123,7 +123,7 @@ protected:
* @author Robby Stephenson
*/
class FilterDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -38,8 +38,8 @@ FilterView::FilterView(TQWidget* parent_, const char* name_) : GUI::ListView(par
setTreeStepSize(15);
setFullWidth(true);
connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
TQT_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)));
connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
TQ_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)));
}
bool FilterView::isSelectable(GUI::ListViewItem* item_) const {
@ -65,9 +65,9 @@ void FilterView::contextMenuRequested(TQListViewItem* item_, const TQPoint& poin
if(item->isFilterItem()) {
TDEPopupMenu menu(this);
menu.insertItem(SmallIconSet(TQString::fromLatin1("filter")),
i18n("Modify Filter"), this, TQT_SLOT(slotModifyFilter()));
i18n("Modify Filter"), this, TQ_SLOT(slotModifyFilter()));
menu.insertItem(SmallIconSet(TQString::fromLatin1("edit-delete")),
i18n("Delete Filter"), this, TQT_SLOT(slotDeleteFilter()));
i18n("Delete Filter"), this, TQ_SLOT(slotDeleteFilter()));
menu.exec(point_);
}
}

@ -26,7 +26,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FilterView : public GUI::ListView, public Observer {
Q_OBJECT
TQ_OBJECT
public:

@ -48,14 +48,14 @@ GroupView::GroupView(TQWidget* parent_, const char* name_/*=0*/)
setTreeStepSize(15);
setFullWidth(true);
connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
TQT_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)));
connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
TQ_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)));
connect(this, TQT_SIGNAL(expanded(TQListViewItem*)),
TQT_SLOT(slotExpanded(TQListViewItem*)));
connect(this, TQ_SIGNAL(expanded(TQListViewItem*)),
TQ_SLOT(slotExpanded(TQListViewItem*)));
connect(this, TQT_SIGNAL(collapsed(TQListViewItem*)),
TQT_SLOT(slotCollapsed(TQListViewItem*)));
connect(this, TQ_SIGNAL(collapsed(TQListViewItem*)),
TQ_SLOT(slotCollapsed(TQListViewItem*)));
m_groupOpenPixmap = SmallIcon(TQString::fromLatin1("folder_open"));
m_groupClosedPixmap = SmallIcon(TQString::fromLatin1("folder"));
@ -249,11 +249,11 @@ void GroupView::contextMenuRequested(TQListViewItem* item_, const TQPoint& point
GUI::ListViewItem* item = static_cast<GUI::ListViewItem*>(item_);
if(item->isEntryGroupItem()) {
menu.insertItem(SmallIconSet(TQString::fromLatin1("2downarrow")),
i18n("Expand All Groups"), this, TQT_SLOT(slotExpandAll()));
i18n("Expand All Groups"), this, TQ_SLOT(slotExpandAll()));
menu.insertItem(SmallIconSet(TQString::fromLatin1("2uparrow")),
i18n("Collapse All Groups"), this, TQT_SLOT(slotCollapseAll()));
i18n("Collapse All Groups"), this, TQ_SLOT(slotCollapseAll()));
menu.insertItem(SmallIconSet(TQString::fromLatin1("filter")),
i18n("Filter by Group"), this, TQT_SLOT(slotFilterGroup()));
i18n("Filter by Group"), this, TQ_SLOT(slotFilterGroup()));
} else if(item->isEntryItem()) {
Controller::self()->plugEntryActions(&menu);
}

@ -40,7 +40,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class GroupView : public GUI::ListView, public Observer {
Q_OBJECT
TQ_OBJECT
public:

@ -25,7 +25,7 @@ BoolFieldWidget::BoolFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const
: FieldWidget(field_, parent_, name_) {
m_checkBox = new TQCheckBox(this);
connect(m_checkBox, TQT_SIGNAL(clicked()), TQT_SIGNAL(modified()));
connect(m_checkBox, TQ_SIGNAL(clicked()), TQ_SIGNAL(modified()));
registerWidget();
}

@ -27,7 +27,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class BoolFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -25,7 +25,7 @@ ChoiceFieldWidget::ChoiceFieldWidget(Data::FieldPtr field_, TQWidget* parent_, c
: FieldWidget(field_, parent_, name_), m_comboBox(0) {
m_comboBox = new KComboBox(this);
connect(m_comboBox, TQT_SIGNAL(activated(int)), TQT_SIGNAL(modified()));
connect(m_comboBox, TQ_SIGNAL(activated(int)), TQ_SIGNAL(modified()));
// always have empty choice
m_comboBox->insertItem(TQString());
m_comboBox->insertStringList(field_->allowed());

@ -26,7 +26,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ChoiceFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -21,7 +21,7 @@ DateFieldWidget::DateFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const
: FieldWidget(field_, parent_, name_) {
m_widget = new DateWidget(this);
connect(m_widget, TQT_SIGNAL(signalModified()), TQT_SIGNAL(modified()));
connect(m_widget, TQ_SIGNAL(signalModified()), TQ_SIGNAL(modified()));
registerWidget();
}

@ -27,7 +27,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class DateFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -66,13 +66,13 @@ DateWidget::DateWidget(TQWidget* parent_, const char* name_) : TQWidget(parent_,
locale->calendar()->maxValidYear(), this);
l->addWidget(m_yearSpin, 1);
connect(m_daySpin, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotDateChanged()));
connect(m_monthCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotDateChanged()));
connect(m_yearSpin, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotDateChanged()));
connect(m_daySpin, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotDateChanged()));
connect(m_monthCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotDateChanged()));
connect(m_yearSpin, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotDateChanged()));
m_dateButton = new KPushButton(this);
m_dateButton->setIconSet(SmallIconSet(TQString::fromLatin1("date")));
connect(m_dateButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotShowPicker()));
connect(m_dateButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotShowPicker()));
l->addWidget(m_dateButton, 0);
m_frame = new TQVBox(0, 0, WType_Popup);
@ -81,8 +81,8 @@ DateWidget::DateWidget(TQWidget* parent_, const char* name_) : TQWidget(parent_,
m_frame->hide();
m_picker = new KDatePicker(m_frame, 0); // must include name to get correct constructor
connect(m_picker, TQT_SIGNAL(dateEntered(TQDate)), TQT_SLOT(slotDateEntered(TQDate)));
connect(m_picker, TQT_SIGNAL(dateSelected(TQDate)), TQT_SLOT(slotDateSelected(TQDate)));
connect(m_picker, TQ_SIGNAL(dateEntered(TQDate)), TQ_SLOT(slotDateEntered(TQDate)));
connect(m_picker, TQ_SIGNAL(dateSelected(TQDate)), TQ_SLOT(slotDateSelected(TQDate)));
}
void DateWidget::slotDateChanged() {

@ -28,7 +28,7 @@ namespace Tellico {
namespace GUI {
class SpinBox : public TQSpinBox {
Q_OBJECT
TQ_OBJECT
public:
@ -39,7 +39,7 @@ public:
* @author Robby Stephenson
*/
class DateWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -121,12 +121,12 @@ FieldWidget::FieldWidget(Data::FieldPtr field_, TQWidget* parent_, const char* n
m_editMultiple = new TQCheckBox(this);
m_editMultiple->setChecked(true);
m_editMultiple->setFixedWidth(m_editMultiple->sizeHint().width()); // don't let it have any extra space
connect(m_editMultiple, TQT_SIGNAL(toggled(bool)), TQT_SLOT(setEnabled(bool)));
connect(m_editMultiple, TQ_SIGNAL(toggled(bool)), TQ_SLOT(setEnabled(bool)));
l->addWidget(m_editMultiple);
TQWhatsThis::add(this, field_->description());
// after letting the subclass get created, insert default value
TQTimer::singleShot(0, this, TQT_SLOT(insertDefault()));
TQTimer::singleShot(0, this, TQ_SLOT(insertDefault()));
}
void FieldWidget::insertDefault() {
@ -166,10 +166,10 @@ void FieldWidget::editMultiple(bool show_) {
// FIXME: maybe modified should only be signaled when the button is toggle on
if(show_) {
m_editMultiple->show();
connect(m_editMultiple, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(modified()));
connect(m_editMultiple, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(modified()));
} else {
m_editMultiple->hide();
disconnect(m_editMultiple, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(modified()));
disconnect(m_editMultiple, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(modified()));
}
// the widget length needs to be updated since it gets shorter
widget()->updateGeometry();

@ -36,7 +36,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FieldWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@ ImageFieldWidget::ImageFieldWidget(Data::FieldPtr field_, TQWidget* parent_, con
m_widget = new ImageWidget(this);
m_widget->setLinkOnlyChecked(field_->property(TQString::fromLatin1("link")) == Latin1Literal("true"));
connect(m_widget, TQT_SIGNAL(signalModified()), TQT_SIGNAL(modified()));
connect(m_widget, TQ_SIGNAL(signalModified()), TQ_SIGNAL(modified()));
registerWidget();
}

@ -27,7 +27,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ImageFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -53,15 +53,15 @@ ImageWidget::ImageWidget(TQWidget* parent_, const char* name_) : TQWidget(parent
TQVBoxLayout* boxLayout = new TQVBoxLayout(l);
boxLayout->addStretch(1);
KButtonBox* box = new KButtonBox(this,Qt::Vertical);
box->addButton(i18n("Select Image..."), TQT_TQOBJECT(this), TQT_SLOT(slotGetImage()));
box->addButton(i18n("Clear"), TQT_TQOBJECT(this), TQT_SLOT(slotClear()));
KButtonBox* box = new KButtonBox(this,TQt::Vertical);
box->addButton(i18n("Select Image..."), this, TQ_SLOT(slotGetImage()));
box->addButton(i18n("Clear"), this, TQ_SLOT(slotClear()));
box->layout();
boxLayout->addWidget(box);
boxLayout->addSpacing(8);
m_cbLinkOnly = new TQCheckBox(i18n("Save link only"), this);
connect(m_cbLinkOnly, TQT_SIGNAL(clicked()), TQT_SLOT(slotLinkOnlyClicked()));
connect(m_cbLinkOnly, TQ_SIGNAL(clicked()), TQ_SLOT(slotLinkOnlyClicked()));
boxLayout->addWidget(m_cbLinkOnly);
boxLayout->addStretch(1);
@ -176,7 +176,7 @@ void ImageWidget::slotLinkOnlyClicked() {
void ImageWidget::mousePressEvent(TQMouseEvent* event_) {
// Only interested in LMB
if(event_->button() == Qt::LeftButton) {
if(event_->button() == TQt::LeftButton) {
// Store the position of the mouse press.
// check if position is inside the label
if(m_label->geometry().contains(event_->pos())) {
@ -190,7 +190,7 @@ void ImageWidget::mousePressEvent(TQMouseEvent* event_) {
void ImageWidget::mouseMoveEvent(TQMouseEvent* event_) {
int delay = TQApplication::startDragDistance();
// Only interested in LMB
if(event_->state() & Qt::LeftButton) {
if(event_->state() & TQt::LeftButton) {
// only allow drag is the image is non-null, and the drag start point isn't null and the user dragged far enough
if(!m_imageID.isEmpty() && !m_dragStart.isNull() && (m_dragStart - event_->pos()).manhattanLength() > delay) {
const Data::Image& img = ImageFactory::imageById(m_imageID);

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ImageWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -44,7 +44,7 @@
KWidgetLister::KWidgetLister( int minWidgets, int maxWidgets, TQWidget *parent, const char* name )
: TQWidget( parent, name )
{
mWidgetList.setAutoDelete(TRUE);
mWidgetList.setAutoDelete(true);
mMinWidgets = TQMAX( minWidgets, 1 );
mMaxWidgets = TQMAX( maxWidgets, mMinWidgets + 1 );
@ -71,12 +71,12 @@ KWidgetLister::KWidgetLister( int minWidgets, int maxWidgets, TQWidget *parent,
mButtonBox->setStretchFactor( mBtnClear, 0 );
//---------- connect everything
connect( mBtnMore, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotMore()) );
connect( mBtnFewer, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotFewer()) );
connect( mBtnClear, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotClear()) );
connect( mBtnMore, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotMore()) );
connect( mBtnFewer, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotFewer()) );
connect( mBtnClear, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotClear()) );
enableControls();
}

@ -61,7 +61,7 @@ class TQHBox;
class KWidgetLister : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
KWidgetLister( int minWidgets=1, int maxWidgets=8, TQWidget* parent=0, const char* name=0 );

@ -28,7 +28,7 @@ LineEdit::LineEdit(TQWidget* parent_, const char* name_) : KLineEdit(parent_, na
, m_allowSpellCheck(false)
, m_enableSpellCheck(true)
, m_spell(0) {
m_spellAction = KStdAction::spelling(TQT_TQOBJECT(this), TQT_SLOT(slotCheckSpelling()), new TDEActionCollection(this));
m_spellAction = KStdAction::spelling(this, TQ_SLOT(slotCheckSpelling()), new TDEActionCollection(this));
}
void LineEdit::clear() {
@ -110,19 +110,19 @@ void LineEdit::slotCheckSpelling() {
delete m_spell;
// re-use the action string to get translations
m_spell = new KSpell(this, m_spellAction->text(),
TQT_TQOBJECT(this), TQT_SLOT(slotSpellCheckReady(KSpell*)), 0, true, true);
this, TQ_SLOT(slotSpellCheckReady(KSpell*)), 0, true, true);
connect(m_spell, TQT_SIGNAL(death()),
TQT_SLOT(spellCheckerFinished()));
connect(m_spell, TQT_SIGNAL(misspelling( const TQString &, const TQStringList &, unsigned int)),
TQT_SLOT(spellCheckerMisspelling( const TQString &, const TQStringList &, unsigned int)));
connect(m_spell, TQT_SIGNAL(corrected(const TQString &, const TQString &, unsigned int)),
TQT_SLOT(spellCheckerCorrected(const TQString &, const TQString &, unsigned int)));
connect(m_spell, TQ_SIGNAL(death()),
TQ_SLOT(spellCheckerFinished()));
connect(m_spell, TQ_SIGNAL(misspelling( const TQString &, const TQStringList &, unsigned int)),
TQ_SLOT(spellCheckerMisspelling( const TQString &, const TQStringList &, unsigned int)));
connect(m_spell, TQ_SIGNAL(corrected(const TQString &, const TQString &, unsigned int)),
TQ_SLOT(spellCheckerCorrected(const TQString &, const TQString &, unsigned int)));
}
void LineEdit::slotSpellCheckReady(KSpell* spell) {
spell->check(text());
connect(spell, TQT_SIGNAL(done(const TQString&)), TQT_SLOT(slotSpellCheckDone(const TQString&)));
connect(spell, TQ_SIGNAL(done(const TQString&)), TQ_SLOT(slotSpellCheckDone(const TQString&)));
}
void LineEdit::slotSpellCheckDone(const TQString& newText) {

@ -28,7 +28,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class LineEdit : public KLineEdit {
Q_OBJECT
TQ_OBJECT
public:

@ -27,7 +27,7 @@ LineFieldWidget::LineFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const
m_lineEdit = new GUI::LineEdit(this);
m_lineEdit->setAllowSpellCheck(true);
m_lineEdit->setEnableSpellCheck(field_->formatFlag() != Data::Field::FormatName);
connect(m_lineEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(modified()));
connect(m_lineEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(modified()));
registerWidget();
@ -40,7 +40,7 @@ LineFieldWidget::LineFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const
}
if(field_->name() == Latin1Literal("isbn")) {
m_lineEdit->setValidator(new ISBNValidator(TQT_TQOBJECT(this)));
m_lineEdit->setValidator(new ISBNValidator(this));
}
}

@ -25,7 +25,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class LineFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -28,16 +28,16 @@ using Tellico::GUI::ListViewItem;
ListView::ListView(TQWidget* parent_, const char* name_) : TDEListView(parent_, name_/*=0*/),
m_sortStyle(SortByText), m_isClear(true) {
setSelectionMode(TQListView::Extended);
connect(this, TQT_SIGNAL(selectionChanged()),
TQT_SLOT(slotSelectionChanged()));
connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
TQT_SLOT(slotDoubleClicked(TQListViewItem*)));
connect(this, TQ_SIGNAL(selectionChanged()),
TQ_SLOT(slotSelectionChanged()));
connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
TQ_SLOT(slotDoubleClicked(TQListViewItem*)));
#if !KDE_IS_VERSION(3,3,90)
m_shadeSortColumn = false;
// call it once to initialize
slotUpdateColors();
#endif
connect(kapp, TQT_SIGNAL(tdedisplayPaletteChanged()), TQT_SLOT(slotUpdateColors()));
connect(tdeApp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(slotUpdateColors()));
m_comparisons.setAutoDelete(true);
}
@ -234,7 +234,7 @@ void ListView::drawContentsOffset(TQPainter* p, int ox, int oy, int cx, int cy,
/* ****************** ListViewItem ********************* */
ListViewItem::~ListViewItem() {
// I think there's a bug in qt where the children of this item are deleted after the item itself
// I think there's a bug in tqt where the children of this item are deleted after the item itself
// as a result, there is no listView() pointer for the children, that obvious causes
// a problem with updating the selection. So we MUST call clear() here ourselves!
clear();

@ -41,7 +41,7 @@ typedef TQPtrListIterator<ListViewItem> ListViewItemListIt;
* @author Robby Stephenson
*/
class ListView : public TDEListView {
Q_OBJECT
TQ_OBJECT
friend class ListViewItem; // needed so the ListViewItem d'tor can update selection list

@ -36,22 +36,22 @@ NumberFieldWidget::NumberFieldWidget(Data::FieldPtr field_, TQWidget* parent_, c
void NumberFieldWidget::initLineEdit() {
m_lineEdit = new KLineEdit(this);
connect(m_lineEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(modified()));
// connect(kl, TQT_SIGNAL(returnPressed(const TQString&)), this, TQT_SLOT(slotHandleReturn()));
connect(m_lineEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(modified()));
// connect(kl, TQ_SIGNAL(returnPressed(const TQString&)), this, TQ_SLOT(slotHandleReturn()));
// regexp is any number of digits followed optionally by any number of
// groups of a semi-colon followed optionally by a space, followed by digits
TQRegExp rx(TQString::fromLatin1("-?\\d*(; ?-?\\d*)*"));
m_lineEdit->setValidator(new TQRegExpValidator(rx, TQT_TQOBJECT(this)));
m_lineEdit->setValidator(new TQRegExpValidator(rx, this));
}
void NumberFieldWidget::initSpinBox() {
// intentionally allow only positive numbers
m_spinBox = new GUI::SpinBox(-1, INT_MAX, this);
connect(m_spinBox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(modified()));
connect(m_spinBox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(modified()));
// TQSpinBox doesn't emit valueChanged if you edit the value with
// the lineEdit until you change the keyboard focus
connect(m_spinBox->child("qt_spinbox_edit"), TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(modified()));
connect(m_spinBox->child("qt_spinbox_edit"), TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(modified()));
// I want to allow no value, so set space as special text. Empty text is ignored
m_spinBox->setSpecialValueText(TQChar(' '));
}

@ -27,7 +27,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class NumberFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -81,7 +81,7 @@ void OverlayWidget::reposition() {
}
bool OverlayWidget::eventFilter(TQObject* object_, TQEvent* event_) {
if(TQT_BASE_OBJECT(object_) == TQT_BASE_OBJECT(m_anchor) && (event_->type() == TQEvent::Move || event_->type() == TQEvent::Resize)) {
if(object_ == m_anchor && (event_->type() == TQEvent::Move || event_->type() == TQEvent::Resize)) {
reposition();
}

@ -26,7 +26,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class OverlayWidget : public TQFrame {
Q_OBJECT
TQ_OBJECT
public:

@ -27,7 +27,7 @@ ParaFieldWidget::ParaFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const
if(field_->property(TQString::fromLatin1("tools-check-spelling")) != Latin1Literal("false")) {
m_textEdit->setCheckSpellingEnabled(true);
}
connect(m_textEdit, TQT_SIGNAL(textChanged()), TQT_SIGNAL(modified()));
connect(m_textEdit, TQ_SIGNAL(textChanged()), TQ_SIGNAL(modified()));
registerWidget();
}

@ -26,7 +26,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ParaFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -27,7 +27,7 @@ PreviewDialog::PreviewDialog(TQWidget* parent_)
i18n("Template Preview"), KDialogBase::Ok)
, m_tempDir(new KTempDir()) {
m_tempDir->setAutoDelete(true);
connect(this, TQT_SIGNAL(finished()), TQT_SLOT(delayedDestruct()));
connect(this, TQ_SIGNAL(finished()), TQ_SLOT(delayedDestruct()));
m_view = new EntryView(this);
setMainWidget(m_view->view());

@ -27,7 +27,7 @@ namespace Tellico {
namespace GUI {
class PreviewDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class Progress : public KProgress {
Q_OBJECT
TQ_OBJECT
public:

@ -20,7 +20,7 @@ using Tellico::GUI::RatingFieldWidget;
RatingFieldWidget::RatingFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const char* name_/*=0*/)
: FieldWidget(field_, parent_, name_) {
m_rating = new RatingWidget(field_, this);
connect(m_rating, TQT_SIGNAL(modified()), TQT_SIGNAL(modified()));
connect(m_rating, TQ_SIGNAL(modified()), TQ_SIGNAL(modified()));
registerWidget();
}

@ -25,7 +25,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class RatingFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -111,7 +111,7 @@ void RatingWidget::update() {
void RatingWidget::mousePressEvent(TQMouseEvent* event_) {
// only react to left button
if(event_->button() != Qt::LeftButton) {
if(event_->button() != TQt::LeftButton) {
return;
}

@ -31,7 +31,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class RatingWidget : public TQHBox {
Q_OBJECT
TQ_OBJECT
typedef TQPtrList<TQLabel> LabelList;

@ -23,7 +23,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class RichTextLabel : public TQTextEdit {
Q_OBJECT
TQ_OBJECT
public:

@ -41,8 +41,8 @@ StringMapDialog::StringMapDialog(const TQMap<TQString, TQString>& map_, TQWidget
m_listView->setColumnWidthMode(0, TQListView::Maximum);
m_listView->setColumnWidthMode(1, TQListView::Maximum);
m_listView->setResizeMode(TQListView::AllColumns);
connect(m_listView, TQT_SIGNAL(currentChanged(TQListViewItem*)), TQT_SLOT(slotUpdate(TQListViewItem*)));
connect(m_listView, TQT_SIGNAL(clicked(TQListViewItem*)), TQT_SLOT(slotUpdate(TQListViewItem*)));
connect(m_listView, TQ_SIGNAL(currentChanged(TQListViewItem*)), TQ_SLOT(slotUpdate(TQListViewItem*)));
connect(m_listView, TQ_SIGNAL(clicked(TQListViewItem*)), TQ_SLOT(slotUpdate(TQListViewItem*)));
l->addWidget(m_listView);
TQHBox* box = new TQHBox(page);
@ -54,9 +54,9 @@ StringMapDialog::StringMapDialog(const TQMap<TQString, TQString>& map_, TQWidget
m_edit2 = new KLineEdit(box);
KButtonBox* bb = new KButtonBox(box);
bb->addStretch();
TQPushButton* btn = bb->addButton(i18n("&Set"), TQT_TQOBJECT(this), TQT_SLOT(slotAdd()));
TQPushButton* btn = bb->addButton(i18n("&Set"), this, TQ_SLOT(slotAdd()));
btn->setIconSet(BarIcon(TQString::fromLatin1("document-new"), TDEIcon::SizeSmall));
btn = bb->addButton(i18n("&Delete"), TQT_TQOBJECT(this), TQT_SLOT(slotDelete()));
btn = bb->addButton(i18n("&Delete"), this, TQ_SLOT(slotDelete()));
btn->setIconSet(BarIcon(TQString::fromLatin1("edit-delete"), TDEIcon::SizeSmall));
l->addWidget(box);

@ -37,7 +37,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class StringMapDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -32,9 +32,9 @@ void TabControl::setFocusToFirstChild() {
if(!page) {
return;
}
TQObjectList* list = page->queryList(TQWIDGET_OBJECT_NAME_STRING);
TQObjectList* list = page->queryList("TQWidget");
for(TQObjectListIt it(*list); it.current(); ++it) {
TQWidget* w = TQT_TQWIDGET(it.current());
TQWidget* w = static_cast<TQWidget*>(it.current());
if(w->isFocusEnabled()) {
w->setFocus();
break;

@ -23,7 +23,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class TabControl : public TQTabWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -49,7 +49,7 @@ TableFieldWidget::TableFieldWidget(Data::FieldPtr field_, TQWidget* parent_, con
m_table->verticalHeader()->setClickEnabled(true);
m_table->verticalHeader()->installEventFilter(this);
connect(m_table->verticalHeader(), TQT_SIGNAL(indexChange(int, int, int)), TQT_SIGNAL(modified()));
connect(m_table->verticalHeader(), TQ_SIGNAL(indexChange(int, int, int)), TQ_SIGNAL(modified()));
m_table->setDragEnabled(false);
m_table->setFocusStyle(TQTable::FollowStyle);
@ -61,10 +61,10 @@ TableFieldWidget::TableFieldWidget(Data::FieldPtr field_, TQWidget* parent_, con
m_table->setSelectionMode(TQTable::NoSelection);
m_table->setHScrollBarMode(TQScrollView::AlwaysOff);
connect(m_table, TQT_SIGNAL(valueChanged(int, int)), TQT_SIGNAL(modified()));
connect(m_table, TQT_SIGNAL(currentChanged(int, int)), TQT_SLOT(slotCheckRows(int, int)));
connect(m_table, TQT_SIGNAL(valueChanged(int, int)), TQT_SLOT(slotResizeColumn(int, int)));
connect(m_table, TQT_SIGNAL(contextMenuRequested(int, int, const TQPoint&)), TQT_SLOT(contextMenu(int, int, const TQPoint&)));
connect(m_table, TQ_SIGNAL(valueChanged(int, int)), TQ_SIGNAL(modified()));
connect(m_table, TQ_SIGNAL(currentChanged(int, int)), TQ_SLOT(slotCheckRows(int, int)));
connect(m_table, TQ_SIGNAL(valueChanged(int, int)), TQ_SLOT(slotResizeColumn(int, int)));
connect(m_table, TQ_SIGNAL(contextMenuRequested(int, int, const TQPoint&)), TQ_SLOT(contextMenu(int, int, const TQPoint&)));
registerWidget();
}
@ -226,9 +226,9 @@ void TableFieldWidget::updateFieldHook(Data::FieldPtr, Data::FieldPtr newField_)
bool TableFieldWidget::eventFilter(TQObject* obj_, TQEvent* ev_) {
if(ev_->type() == TQEvent::MouseButtonPress
&& TQT_TQMOUSEEVENT(ev_)->button() == Qt::RightButton) {
if(TQT_BASE_OBJECT(obj_) == TQT_BASE_OBJECT(m_table->horizontalHeader())) {
TQMouseEvent* ev = TQT_TQMOUSEEVENT(ev_);
&& static_cast<TQMouseEvent*>(ev_)->button() == TQt::RightButton) {
if(obj_ == m_table->horizontalHeader()) {
TQMouseEvent* ev = static_cast<TQMouseEvent*>(ev_);
// might be scrolled
int pos = ev->x() + m_table->horizontalHeader()->offset();
int col = m_table->horizontalHeader()->sectionAt(pos);
@ -239,11 +239,11 @@ bool TableFieldWidget::eventFilter(TQObject* obj_, TQEvent* ev_) {
m_col = col;
TDEPopupMenu menu(this);
menu.insertItem(SmallIconSet(TQString::fromLatin1("edit")), i18n("Rename Column..."),
this, TQT_SLOT(slotRenameColumn()));
this, TQ_SLOT(slotRenameColumn()));
menu.exec(ev->globalPos());
return true;
} else if(TQT_BASE_OBJECT(obj_) == TQT_BASE_OBJECT(m_table->verticalHeader())) {
TQMouseEvent* ev = TQT_TQMOUSEEVENT(ev_);
} else if(obj_ == m_table->verticalHeader()) {
TQMouseEvent* ev = static_cast<TQMouseEvent*>(ev_);
// might be scrolled
int pos = ev->y() + m_table->verticalHeader()->offset();
int row = m_table->verticalHeader()->sectionAt(pos);
@ -272,28 +272,28 @@ void TableFieldWidget::contextMenu(int row_, int col_, const TQPoint& p_) {
int id;
TDEPopupMenu menu(this);
menu.insertItem(SmallIconSet(TQString::fromLatin1("insrow")), i18n("Insert Row"),
this, TQT_SLOT(slotInsertRow()));
this, TQ_SLOT(slotInsertRow()));
menu.insertItem(SmallIconSet(TQString::fromLatin1("remrow")), i18n("Remove Row"),
this, TQT_SLOT(slotRemoveRow()));
this, TQ_SLOT(slotRemoveRow()));
id = menu.insertItem(SmallIconSet(TQString::fromLatin1("1uparrow")), i18n("Move Row Up"),
this, TQT_SLOT(slotMoveRowUp()));
this, TQ_SLOT(slotMoveRowUp()));
if(m_row == 0) {
menu.setItemEnabled(id, false);
}
id = menu.insertItem(SmallIconSet(TQString::fromLatin1("1downarrow")), i18n("Move Row Down"),
this, TQT_SLOT(slotMoveRowDown()));
this, TQ_SLOT(slotMoveRowDown()));
if(m_row == m_table->numRows()-1) {
menu.setItemEnabled(id, false);
}
menu.insertSeparator();
id = menu.insertItem(SmallIconSet(TQString::fromLatin1("edit")), i18n("Rename Column..."),
this, TQT_SLOT(slotRenameColumn()));
this, TQ_SLOT(slotRenameColumn()));
if(m_col < 0 || m_col > m_columns-1) {
menu.setItemEnabled(id, false);
}
menu.insertSeparator();
menu.insertItem(SmallIconSet(TQString::fromLatin1("locationbar_erase")), i18n("Clear Table"),
this, TQT_SLOT(clear()));
this, TQ_SLOT(clear()));
menu.exec(p_);
}

@ -27,7 +27,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class TableFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -38,9 +38,9 @@ URLFieldWidget::URLFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const c
m_requester = new KURLRequester(this);
m_requester->lineEdit()->setCompletionObject(new URLCompletion());
m_requester->lineEdit()->setAutoDeleteCompletionObject(true);
connect(m_requester, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(modified()));
connect(m_requester, TQT_SIGNAL(textChanged(const TQString&)), label(), TQT_SLOT(setURL(const TQString&)));
connect(label(), TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(slotOpenURL(const TQString&)));
connect(m_requester, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(modified()));
connect(m_requester, TQ_SIGNAL(textChanged(const TQString&)), label(), TQ_SLOT(setURL(const TQString&)));
connect(label(), TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(slotOpenURL(const TQString&)));
registerWidget();
// special case, remember if it's a relative url

@ -30,7 +30,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class URLFieldWidget : public FieldWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -36,7 +36,7 @@
#include "translators/deliciousimporter.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tqlayout.h>
#include <tqbuttongroup.h>
@ -57,7 +57,7 @@ ImportDialog::ImportDialog(Import::Format format_, const KURL::List& urls_, TQWi
TQWidget* widget = new TQWidget(this);
TQVBoxLayout* topLayout = new TQVBoxLayout(widget, 0, spacingHint());
TQButtonGroup* bg = new TQButtonGroup(1, Qt::Horizontal, i18n("Import Options"), widget);
TQButtonGroup* bg = new TQButtonGroup(1, TQt::Horizontal, i18n("Import Options"), widget);
topLayout->addWidget(bg, 0);
m_radioReplace = new TQRadioButton(i18n("&Replace current collection"), bg);
TQWhatsThis::add(m_radioReplace, i18n("Replace the current collection with the contents "
@ -86,7 +86,7 @@ ImportDialog::ImportDialog(Import::Format format_, const KURL::List& urls_, TQWi
topLayout->addWidget(w, 0);
}
connect(bg, TQT_SIGNAL(clicked(int)), m_importer, TQT_SLOT(slotActionChanged(int)));
connect(bg, TQ_SIGNAL(clicked(int)), m_importer, TQ_SLOT(slotActionChanged(int)));
topLayout->addStretch();
setMainWidget(widget);
@ -97,7 +97,7 @@ ImportDialog::ImportDialog(Import::Format format_, const KURL::List& urls_, TQWi
// want to grab default button action, too
// since the importer might do something with widgets, don't just call it, do it after layout is done
TQTimer::singleShot(0, this, TQT_SLOT(slotUpdateAction()));
TQTimer::singleShot(0, this, TQ_SLOT(slotUpdateAction()));
}
ImportDialog::~ImportDialog() {

@ -34,7 +34,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ImportDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -99,11 +99,11 @@ void LoanDialog::init() {
m_borrowerEdit = new KLineEdit(hbox);
l->setBuddy(m_borrowerEdit);
m_borrowerEdit->completionObject()->setIgnoreCase(true);
connect(m_borrowerEdit, TQT_SIGNAL(textChanged(const TQString&)),
TQT_SLOT(slotBorrowerNameChanged(const TQString&)));
connect(m_borrowerEdit, TQ_SIGNAL(textChanged(const TQString&)),
TQ_SLOT(slotBorrowerNameChanged(const TQString&)));
actionButton(Ok)->setEnabled(false); // disable until a name is entered
KPushButton* pb = new KPushButton(SmallIconSet(TQString::fromLatin1("kaddressbook")), TQString(), hbox);
connect(pb, TQT_SIGNAL(clicked()), TQT_SLOT(slotGetBorrower()));
connect(pb, TQ_SIGNAL(clicked()), TQ_SLOT(slotGetBorrower()));
TQString whats = i18n("Enter the name of the person borrowing the items from you. "
"Clicking the button allows you to select from your address book.");
TQWhatsThis::add(l, whats);
@ -135,7 +135,7 @@ void LoanDialog::init() {
l->setBuddy(m_dueDate);
topLayout->addWidget(m_dueDate, 3, 1);
// valid due dates will enable the calendar adding checkbox
connect(m_dueDate, TQT_SIGNAL(signalModified()), TQT_SLOT(slotDueDateChanged()));
connect(m_dueDate, TQ_SIGNAL(signalModified()), TQ_SLOT(slotDueDateChanged()));
whats = i18n("The due date is when the items are due to be returned. The due date "
"is not required, unless you want to add the loan to your active calendar.");
TQWhatsThis::add(l, whats);
@ -161,10 +161,10 @@ void LoanDialog::init() {
resize(configDialogSize(TQString::fromLatin1("Loan Dialog Options")));
TDEABC::AddressBook* abook = TDEABC::StdAddressBook::self(true);
connect(abook, TQT_SIGNAL(addressBookChanged(AddressBook*)),
TQT_SLOT(slotLoadAddressBook()));
connect(abook, TQT_SIGNAL(loadingFinished(Resource*)),
TQT_SLOT(slotLoadAddressBook()));
connect(abook, TQ_SIGNAL(addressBookChanged(AddressBook*)),
TQ_SLOT(slotLoadAddressBook()));
connect(abook, TQ_SIGNAL(loadingFinished(Resource*)),
TQ_SLOT(slotLoadAddressBook()));
slotLoadAddressBook();
}

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class LoanDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -38,14 +38,14 @@ LoanView::LoanView(TQWidget* parent_, const char* name_) : GUI::ListView(parent_
setTreeStepSize(15);
setFullWidth(true);
connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
TQT_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)));
connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
TQ_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)));
connect(this, TQT_SIGNAL(expanded(TQListViewItem*)),
TQT_SLOT(slotExpanded(TQListViewItem*)));
connect(this, TQ_SIGNAL(expanded(TQListViewItem*)),
TQ_SLOT(slotExpanded(TQListViewItem*)));
connect(this, TQT_SIGNAL(collapsed(TQListViewItem*)),
TQT_SLOT(slotCollapsed(TQListViewItem*)));
connect(this, TQ_SIGNAL(collapsed(TQListViewItem*)),
TQ_SLOT(slotCollapsed(TQListViewItem*)));
}
bool LoanView::isSelectable(GUI::ListViewItem* item_) const {
@ -71,9 +71,9 @@ void LoanView::contextMenuRequested(TQListViewItem* item_, const TQPoint& point_
if(item->isLoanItem()) {
TDEPopupMenu menu(this);
menu.insertItem(SmallIconSet(TQString::fromLatin1("2downarrow")),
i18n("Check-in"), this, TQT_SLOT(slotCheckIn()));
i18n("Check-in"), this, TQ_SLOT(slotCheckIn()));
menu.insertItem(SmallIconSet(TQString::fromLatin1("2downarrow")),
i18n("Modify Loan..."), this, TQT_SLOT(slotModifyLoan()));
i18n("Modify Loan..."), this, TQ_SLOT(slotModifyLoan()));
menu.exec(point_);
}
}

@ -29,7 +29,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class LoanView : public GUI::ListView, public Observer {
Q_OBJECT
TQ_OBJECT
public:

@ -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
@ -147,11 +147,11 @@ MainWindow::MainWindow(TQWidget* parent_/*=0*/, const char* name_/*=0*/) : TDEMa
readOptions();
setAcceptDrops(true);
DropHandler* drophandler = new DropHandler(TQT_TQOBJECT(this));
DropHandler* drophandler = new DropHandler(this);
installEventFilter(drophandler);
MARK_LINE;
TQTimer::singleShot(0, TQT_TQOBJECT(this), TQT_SLOT(slotInit()));
TQTimer::singleShot(0, this, TQ_SLOT(slotInit()));
}
void MainWindow::slotInit() {
@ -182,9 +182,9 @@ void MainWindow::initActions() {
/*************************************************
* File->New menu
*************************************************/
TQSignalMapper* collectionMapper = new TQSignalMapper(TQT_TQOBJECT(this));
connect(collectionMapper, TQT_SIGNAL(mapped(int)),
TQT_TQOBJECT(this), TQT_SLOT(slotFileNew(int)));
TQSignalMapper* collectionMapper = new TQSignalMapper(this);
connect(collectionMapper, TQ_SIGNAL(mapped(int)),
this, TQ_SLOT(slotFileNew(int)));
TDEActionMenu* fileNewMenu = new TDEActionMenu(actionCollection(), "file_new_collection");
fileNewMenu->setText(i18n("New"));
@ -198,7 +198,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("book")));
action->setToolTip(i18n("Create a new book collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Book);
action = new TDEAction(actionCollection(), "new_bibtex_collection");
@ -206,7 +206,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("bibtex")));
action->setToolTip(i18n("Create a new bibtex bibliography"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Bibtex);
action = new TDEAction(actionCollection(), "new_comic_book_collection");
@ -214,7 +214,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("comic")));
action->setToolTip(i18n("Create a new comic book collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::ComicBook);
action = new TDEAction(actionCollection(), "new_video_collection");
@ -222,7 +222,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("video-x-generic")));
action->setToolTip(i18n("Create a new video collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Video);
action = new TDEAction(actionCollection(), "new_music_collection");
@ -230,7 +230,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("album")));
action->setToolTip(i18n("Create a new music collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Album);
action = new TDEAction(actionCollection(), "new_coin_collection");
@ -238,7 +238,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("coin")));
action->setToolTip(i18n("Create a new coin collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Coin);
action = new TDEAction(actionCollection(), "new_stamp_collection");
@ -246,7 +246,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("stamp")));
action->setToolTip(i18n("Create a new stamp collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Stamp);
action = new TDEAction(actionCollection(), "new_card_collection");
@ -254,7 +254,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("card")));
action->setToolTip(i18n("Create a new trading card collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Card);
action = new TDEAction(actionCollection(), "new_wine_collection");
@ -262,7 +262,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("wine")));
action->setToolTip(i18n("Create a new wine collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Wine);
action = new TDEAction(actionCollection(), "new_game_collection");
@ -270,7 +270,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("game")));
action->setToolTip(i18n("Create a new game collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Game);
action = new TDEAction(actionCollection(), "new_boardgame_collection");
@ -278,7 +278,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("boardgame")));
action->setToolTip(i18n("Create a new board game collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::BoardGame);
action = new TDEAction(actionCollection(), "new_file_catalog");
@ -286,7 +286,7 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("file")));
action->setToolTip(i18n("Create a new file catalog"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::File);
action = new TDEAction(actionCollection(), "new_custom_collection");
@ -294,30 +294,30 @@ void MainWindow::initActions() {
action->setIconSet(UserIconSet(TQString::fromLatin1("document-new")));
action->setToolTip(i18n("Create a new custom collection"));
fileNewMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), collectionMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), collectionMapper, TQ_SLOT(map()));
collectionMapper->setMapping(action, Data::Collection::Base);
/*************************************************
* File menu
*************************************************/
action = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(slotFileOpen()), actionCollection());
action = KStdAction::open(this, TQ_SLOT(slotFileOpen()), actionCollection());
action->setToolTip(i18n("Open an existing document"));
m_fileOpenRecent = KStdAction::openRecent(TQT_TQOBJECT(this), TQT_SLOT(slotFileOpenRecent(const KURL&)), actionCollection());
m_fileOpenRecent = KStdAction::openRecent(this, TQ_SLOT(slotFileOpenRecent(const KURL&)), actionCollection());
m_fileOpenRecent->setToolTip(i18n("Open a recently used file"));
m_fileSave = KStdAction::save(TQT_TQOBJECT(this), TQT_SLOT(slotFileSave()), actionCollection());
m_fileSave = KStdAction::save(this, TQ_SLOT(slotFileSave()), actionCollection());
m_fileSave->setToolTip(i18n("Save the document"));
action = KStdAction::saveAs(TQT_TQOBJECT(this), TQT_SLOT(slotFileSaveAs()), actionCollection());
action = KStdAction::saveAs(this, TQ_SLOT(slotFileSaveAs()), actionCollection());
action->setToolTip(i18n("Save the document as a different file..."));
action = KStdAction::print(TQT_TQOBJECT(this), TQT_SLOT(slotFilePrint()), actionCollection());
action = KStdAction::print(this, TQ_SLOT(slotFilePrint()), actionCollection());
action->setToolTip(i18n("Print the contents of the document..."));
action = KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotFileQuit()), actionCollection());
action = KStdAction::quit(this, TQ_SLOT(slotFileQuit()), actionCollection());
action->setToolTip(i18n("Quit the application"));
/**************** Import Menu ***************************/
TQSignalMapper* importMapper = new TQSignalMapper(TQT_TQOBJECT(this));
connect(importMapper, TQT_SIGNAL(mapped(int)),
TQT_TQOBJECT(this), TQT_SLOT(slotFileImport(int)));
TQSignalMapper* importMapper = new TQSignalMapper(this);
connect(importMapper, TQ_SIGNAL(mapped(int)),
this, TQ_SLOT(slotFileImport(int)));
TDEActionMenu* importMenu = new TDEActionMenu(actionCollection(), "file_import");
importMenu->setText(i18n("&Import"));
@ -330,7 +330,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import another Tellico data file"));
action->setIcon(TQString::fromLatin1("tellico"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::TellicoXML);
action = new TDEAction(actionCollection(), "file_import_csv");
@ -338,7 +338,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import a CSV file"));
action->setIcon(MIME_ICON("text/csv"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::CSV);
action = new TDEAction(actionCollection(), "file_import_mods");
@ -346,7 +346,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import a MODS data file"));
action->setIcon(MIME_ICON("text/xml"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::MODS);
action = new TDEAction(actionCollection(), "file_import_alexandria");
@ -354,7 +354,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import data from the Alexandria book collection manager"));
action->setIcon(TQString::fromLatin1("alexandria"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::Alexandria);
action = new TDEAction(actionCollection(), "file_import_delicious");
@ -362,7 +362,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import data from Delicious Library"));
action->setIcon(MIME_ICON("text/xml"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::Delicious);
action = new TDEAction(actionCollection(), "file_import_referencer");
@ -370,7 +370,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import data from Referencer"));
action->setIcon(TQString::fromLatin1("referencer"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::Referencer);
action = new TDEAction(actionCollection(), "file_import_bibtex");
@ -378,7 +378,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import a bibtex bibliography file"));
action->setIcon(MIME_ICON("text/x-bibtex"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::Bibtex);
action = new TDEAction(actionCollection(), "file_import_bibtexml");
@ -386,7 +386,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import a Bibtexml bibliography file"));
action->setIcon(MIME_ICON("text/xml"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::Bibtexml);
action = new TDEAction(actionCollection(), "file_import_ris");
@ -394,7 +394,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import an RIS reference file"));
action->setIcon(MIME_ICON("application/x-research-info-systems"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::RIS);
action = new TDEAction(actionCollection(), "file_import_pdf");
@ -402,7 +402,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import a PDF file"));
action->setIcon(MIME_ICON("application/pdf"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::PDF);
action = new TDEAction(actionCollection(), "file_import_audiofile");
@ -410,7 +410,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import meta-data from audio files"));
action->setIcon(MIME_ICON("audio/x-mp3"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::AudioFile);
#ifndef HAVE_TAGLIB
action->setEnabled(false);
@ -421,7 +421,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import audio CD information"));
action->setIcon(MIME_ICON("media/audiocd"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::FreeDB);
#ifndef HAVE_KCDDB
action->setEnabled(false);
@ -432,7 +432,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import a GCstar data file"));
action->setIcon(TQString::fromLatin1("gcstar"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::GCfilms);
action = new TDEAction(actionCollection(), "file_import_griffith");
@ -440,7 +440,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import a Griffith database"));
action->setIcon(TQString::fromLatin1("griffith"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::Griffith);
action = new TDEAction(actionCollection(), "file_import_amc");
@ -448,7 +448,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import an Ant Movie Catalog data file"));
action->setIcon(MIME_ICON("application/x-crossover-amc"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::AMC);
action = new TDEAction(actionCollection(), "file_import_filelisting");
@ -456,7 +456,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import information about files in a folder"));
action->setIcon(MIME_ICON("inode/directory"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::FileListing);
action = new TDEAction(actionCollection(), "file_import_xslt");
@ -464,14 +464,14 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Import using an XSL Transform"));
action->setIcon(MIME_ICON("text/x-xslt"));
importMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), importMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), importMapper, TQ_SLOT(map()));
importMapper->setMapping(action, Import::XSLT);
/**************** Export Menu ***************************/
TQSignalMapper* exportMapper = new TQSignalMapper(TQT_TQOBJECT(this));
connect(exportMapper, TQT_SIGNAL(mapped(int)),
TQT_TQOBJECT(this), TQT_SLOT(slotFileExport(int)));
TQSignalMapper* exportMapper = new TQSignalMapper(this);
connect(exportMapper, TQ_SIGNAL(mapped(int)),
this, TQ_SLOT(slotFileExport(int)));
TDEActionMenu* exportMenu = new TDEActionMenu(actionCollection(), "file_export");
exportMenu->setText(i18n("&Export"));
@ -484,7 +484,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to a Tellico XML file"));
action->setIcon(TQString::fromLatin1("tellico"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::TellicoXML);
action = new TDEAction(actionCollection(), "file_export_zip");
@ -492,7 +492,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to a Tellico Zip file"));
action->setIcon(TQString::fromLatin1("tellico"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::TellicoZip);
action = new TDEAction(actionCollection(), "file_export_html");
@ -500,7 +500,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to an HTML file"));
action->setIcon(MIME_ICON("text/html"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::HTML);
action = new TDEAction(actionCollection(), "file_export_csv");
@ -508,7 +508,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to a comma-separated values file"));
action->setIcon(MIME_ICON("text/csv"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::CSV);
action = new TDEAction(actionCollection(), "file_export_pilotdb");
@ -516,7 +516,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to a PilotDB database"));
action->setIcon(MIME_ICON("application/vnd.palm"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::PilotDB);
action = new TDEAction(actionCollection(), "file_export_alexandria");
@ -524,7 +524,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to an Alexandria library"));
action->setIcon(TQString::fromLatin1("alexandria"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::Alexandria);
action = new TDEAction(actionCollection(), "file_export_bibtex");
@ -532,7 +532,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to a bibtex file"));
action->setIcon(MIME_ICON("text/x-bibtex"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::Bibtex);
action = new TDEAction(actionCollection(), "file_export_bibtexml");
@ -540,7 +540,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to a Bibtexml file"));
action->setIcon(MIME_ICON("text/xml"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::Bibtexml);
action = new TDEAction(actionCollection(), "file_export_onix");
@ -548,7 +548,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to an ONIX file"));
action->setIcon(MIME_ICON("text/xml"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::ONIX);
action = new TDEAction(actionCollection(), "file_export_gcfilms");
@ -556,7 +556,7 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export to a GCfilms data file"));
action->setIcon(TQString::fromLatin1("gcstar"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::GCfilms);
#if 0
@ -569,30 +569,30 @@ void MainWindow::initActions() {
action->setToolTip(i18n("Export using an XSL Transform"));
action->setIcon(MIME_ICON("text/x-xslt"));
exportMenu->insert(action);
connect(action, TQT_SIGNAL(activated()), exportMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), exportMapper, TQ_SLOT(map()));
exportMapper->setMapping(action, Export::XSLT);
/*************************************************
* Edit menu
*************************************************/
action = KStdAction::cut(TQT_TQOBJECT(this), TQT_SLOT(slotEditCut()), actionCollection());
action = KStdAction::cut(this, TQ_SLOT(slotEditCut()), actionCollection());
action->setToolTip(i18n("Cut the selected text and puts it in the clipboard"));
action = KStdAction::copy(TQT_TQOBJECT(this), TQT_SLOT(slotEditCopy()), actionCollection());
action = KStdAction::copy(this, TQ_SLOT(slotEditCopy()), actionCollection());
action->setToolTip(i18n("Copy the selected text to the clipboard"));
action = KStdAction::paste(TQT_TQOBJECT(this), TQT_SLOT(slotEditPaste()), actionCollection());
action = KStdAction::paste(this, TQ_SLOT(slotEditPaste()), actionCollection());
action->setToolTip(i18n("Paste the clipboard contents"));
action = KStdAction::selectAll(TQT_TQOBJECT(this), TQT_SLOT(slotEditSelectAll()), actionCollection());
action = KStdAction::selectAll(this, TQ_SLOT(slotEditSelectAll()), actionCollection());
action->setToolTip(i18n("Select all the entries in the collection"));
action = KStdAction::deselect(TQT_TQOBJECT(this), TQT_SLOT(slotEditDeselect()), actionCollection());
action = KStdAction::deselect(this, TQ_SLOT(slotEditDeselect()), actionCollection());
action->setToolTip(i18n("Deselect all the entries in the collection"));
action = new TDEAction(i18n("Internet Search..."), TQString::fromLatin1("wizard"), CTRL + Key_M,
TQT_TQOBJECT(this), TQT_SLOT(slotShowFetchDialog()),
this, TQ_SLOT(slotShowFetchDialog()),
actionCollection(), "edit_search_internet");
action->setToolTip(i18n("Search the internet..."));
action = new TDEAction(i18n("Advanced &Filter..."), TQString::fromLatin1("filter"), CTRL + Key_J,
TQT_TQOBJECT(this), TQT_SLOT(slotShowFilterDialog()),
this, TQ_SLOT(slotShowFilterDialog()),
actionCollection(), "filter_dialog");
action->setToolTip(i18n("Filter the collection"));
@ -600,86 +600,86 @@ void MainWindow::initActions() {
* Collection menu
*************************************************/
m_newEntry = new TDEAction(i18n("&New Entry..."), TQString::fromLatin1("document-new"), CTRL + Key_N,
TQT_TQOBJECT(this), TQT_SLOT(slotNewEntry()),
this, TQ_SLOT(slotNewEntry()),
actionCollection(), "coll_new_entry");
m_newEntry->setToolTip(i18n("Create a new entry"));
m_editEntry = new TDEAction(i18n("&Edit Entry..."), TQString::fromLatin1("edit"), CTRL + Key_E,
TQT_TQOBJECT(this), TQT_SLOT(slotShowEntryEditor()),
this, TQ_SLOT(slotShowEntryEditor()),
actionCollection(), "coll_edit_entry");
m_editEntry->setToolTip(i18n("Edit the selected entries"));
m_copyEntry = new TDEAction(i18n("D&uplicate Entry"), TQString::fromLatin1("edit-copy"), CTRL + Key_Y,
Controller::self(), TQT_SLOT(slotCopySelectedEntries()),
Controller::self(), TQ_SLOT(slotCopySelectedEntries()),
actionCollection(), "coll_copy_entry");
m_copyEntry->setToolTip(i18n("Copy the selected entries"));
m_deleteEntry = new TDEAction(i18n("&Delete Entry"), TQString::fromLatin1("edit-delete"), CTRL + Key_D,
Controller::self(), TQT_SLOT(slotDeleteSelectedEntries()),
Controller::self(), TQ_SLOT(slotDeleteSelectedEntries()),
actionCollection(), "coll_delete_entry");
m_deleteEntry->setToolTip(i18n("Delete the selected entries"));
m_mergeEntry = new TDEAction(i18n("&Merge Entries"), TQString::fromLatin1("edit-copy"), CTRL + Key_G,
Controller::self(), TQT_SLOT(slotMergeSelectedEntries()),
Controller::self(), TQ_SLOT(slotMergeSelectedEntries()),
actionCollection(), "coll_merge_entry");
m_mergeEntry->setToolTip(i18n("Merge the selected entries"));
m_mergeEntry->setEnabled(false); // gets enabled when more than 1 entry is selected
action = new TDEAction(i18n("&Generate Reports..."), TQString::fromLatin1("text-x-generic"), 0, TQT_TQOBJECT(this),
TQT_SLOT(slotShowReportDialog()),
action = new TDEAction(i18n("&Generate Reports..."), TQString::fromLatin1("text-x-generic"), 0, this,
TQ_SLOT(slotShowReportDialog()),
actionCollection(), "coll_reports");
action->setToolTip(i18n("Generate collection reports"));
m_checkOutEntry = new TDEAction(i18n("Check-&out..."), TQString::fromLatin1("2uparrow"), 0,
Controller::self(), TQT_SLOT(slotCheckOut()),
Controller::self(), TQ_SLOT(slotCheckOut()),
actionCollection(), "coll_checkout");
m_checkOutEntry->setToolTip(i18n("Check-out the selected items"));
m_checkInEntry = new TDEAction(i18n("Check-&in"), TQString::fromLatin1("2downarrow"), 0,
Controller::self(), TQT_SLOT(slotCheckIn()),
Controller::self(), TQ_SLOT(slotCheckIn()),
actionCollection(), "coll_checkin");
m_checkInEntry->setToolTip(i18n("Check-in the selected items"));
action = new TDEAction(i18n("&Rename Collection..."), TQString::fromLatin1("edit-clear"), CTRL + Key_R,
TQT_TQOBJECT(this), TQT_SLOT(slotRenameCollection()),
this, TQ_SLOT(slotRenameCollection()),
actionCollection(), "coll_rename_collection");
action->setToolTip(i18n("Rename the collection"));
action = new TDEAction(i18n("Collection &Fields..."), TQString::fromLatin1("edit"), CTRL + Key_U,
TQT_TQOBJECT(this), TQT_SLOT(slotShowCollectionFieldsDialog()),
this, TQ_SLOT(slotShowCollectionFieldsDialog()),
actionCollection(), "coll_fields");
action->setToolTip(i18n("Modify the collection fields"));
action = new TDEAction(i18n("Convert to &Bibliography"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotConvertToBibliography()),
this, TQ_SLOT(slotConvertToBibliography()),
actionCollection(), "coll_convert_bibliography");
action->setToolTip(i18n("Convert a book collection to a bibliography"));
action->setIconSet(UserIconSet(TQString::fromLatin1("bibtex")));
action = new TDEAction(i18n("String &Macros..."), TQString::fromLatin1("view_text"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotShowStringMacroDialog()),
this, TQ_SLOT(slotShowStringMacroDialog()),
actionCollection(), "coll_string_macros");
action->setToolTip(i18n("Edit the bibtex string macros"));
TQSignalMapper* citeMapper = new TQSignalMapper(TQT_TQOBJECT(this));
connect(citeMapper, TQT_SIGNAL(mapped(int)),
TQT_TQOBJECT(this), TQT_SLOT(slotCiteEntry(int)));
TQSignalMapper* citeMapper = new TQSignalMapper(this);
connect(citeMapper, TQ_SIGNAL(mapped(int)),
this, TQ_SLOT(slotCiteEntry(int)));
action = new TDEAction(actionCollection(), "cite_clipboard");
action->setText(i18n("Copy Bibtex to Cli&pboard"));
action->setToolTip(i18n("Copy bibtex citations to the clipboard"));
action->setIcon(TQString::fromLatin1("edit-paste"));
connect(action, TQT_SIGNAL(activated()), citeMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), citeMapper, TQ_SLOT(map()));
citeMapper->setMapping(action, Cite::CiteClipboard);
action = new TDEAction(actionCollection(), "cite_lyxpipe");
action->setText(i18n("Cite Entry in &LyX"));
action->setToolTip(i18n("Cite the selected entries in LyX"));
action->setIcon(TQString::fromLatin1("lyx"));
connect(action, TQT_SIGNAL(activated()), citeMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), citeMapper, TQ_SLOT(map()));
citeMapper->setMapping(action, Cite::CiteLyxpipe);
action = new TDEAction(actionCollection(), "cite_openoffice");
action->setText(i18n("Ci&te Entry in OpenOffice.org"));
action->setToolTip(i18n("Cite the selected entries in OpenOffice.org"));
action->setIcon(TQString::fromLatin1("ooo-writer"));
connect(action, TQT_SIGNAL(activated()), citeMapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), citeMapper, TQ_SLOT(map()));
citeMapper->setMapping(action, Cite::CiteOpenOffice);
TQSignalMapper* updateMapper = new TQSignalMapper(TQT_TQOBJECT(this), "update_mapper");
connect(updateMapper, TQT_SIGNAL(mapped(const TQString&)),
Controller::self(), TQT_SLOT(slotUpdateSelectedEntries(const TQString&)));
TQSignalMapper* updateMapper = new TQSignalMapper(this, "update_mapper");
connect(updateMapper, TQ_SIGNAL(mapped(const TQString&)),
Controller::self(), TQ_SLOT(slotUpdateSelectedEntries(const TQString&)));
m_updateEntryMenu = new TDEActionMenu(i18n("&Update Entry"), actionCollection(), "coll_update_entry");
// m_updateEntryMenu->setIconSet(BarIconSet(TQString::fromLatin1("fileexport")));
@ -689,7 +689,7 @@ void MainWindow::initActions() {
m_updateAll->setText(i18n("All Sources"));
m_updateAll->setToolTip(i18n("Update entry data from all available sources"));
// m_updateEntryMenu->insert(action);
connect(m_updateAll, TQT_SIGNAL(activated()), updateMapper, TQT_SLOT(map()));
connect(m_updateAll, TQ_SIGNAL(activated()), updateMapper, TQ_SLOT(map()));
updateMapper->setMapping(m_updateAll, TQString::fromLatin1("_all"));
/*************************************************
@ -697,50 +697,50 @@ void MainWindow::initActions() {
*************************************************/
setStandardToolBarMenuEnabled(true);
createStandardStatusBarAction();
KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(slotConfigToolbar()), actionCollection());
KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(slotConfigKeys()), actionCollection());
KStdAction::configureToolbars(this, TQ_SLOT(slotConfigToolbar()), actionCollection());
KStdAction::keyBindings(this, TQ_SLOT(slotConfigKeys()), actionCollection());
m_toggleGroupWidget = new TDEToggleAction(i18n("Show Grou&p View"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotToggleGroupWidget()),
this, TQ_SLOT(slotToggleGroupWidget()),
actionCollection(), "toggle_group_widget");
m_toggleGroupWidget->setToolTip(i18n("Enable/disable the group view"));
m_toggleGroupWidget->setCheckedState(i18n("Hide Grou&p View"));
m_toggleEntryEditor = new TDEToggleAction(i18n("Show Entry &Editor"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotToggleEntryEditor()),
this, TQ_SLOT(slotToggleEntryEditor()),
actionCollection(), "toggle_edit_widget");
m_toggleEntryEditor->setToolTip(i18n("Enable/disable the editor"));
m_toggleEntryEditor->setCheckedState(i18n("Hide Entry &Editor"));
m_toggleEntryView = new TDEToggleAction(i18n("Show Entry &View"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotToggleEntryView()),
this, TQ_SLOT(slotToggleEntryView()),
actionCollection(), "toggle_entry_view");
m_toggleEntryView->setToolTip(i18n("Enable/disable the entry view"));
m_toggleEntryView->setCheckedState(i18n("Hide Entry &View"));
KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(slotShowConfigDialog()), actionCollection());
KStdAction::preferences(this, TQ_SLOT(slotShowConfigDialog()), actionCollection());
/*************************************************
* Help menu
*************************************************/
KStdAction::tipOfDay(TQT_TQOBJECT(this), TQT_SLOT(slotShowTipOfDay()), actionCollection(), "tipOfDay");
KStdAction::tipOfDay(this, TQ_SLOT(slotShowTipOfDay()), actionCollection(), "tipOfDay");
/*************************************************
* Collection Toolbar
*************************************************/
(void) new TDEAction(i18n("Change Grouping"), CTRL + Key_G,
TQT_TQOBJECT(this), TQT_SLOT(slotGroupLabelActivated()),
this, TQ_SLOT(slotGroupLabelActivated()),
actionCollection(), "change_entry_grouping_accel");
m_entryGrouping = new TDESelectAction(i18n("&Group Selection"), 0, TQT_TQOBJECT(this),
TQT_SLOT(slotChangeGrouping()),
m_entryGrouping = new TDESelectAction(i18n("&Group Selection"), 0, this,
TQ_SLOT(slotChangeGrouping()),
actionCollection(), "change_entry_grouping");
m_entryGrouping->setToolTip(i18n("Change the grouping of the collection"));
(void) new TDEAction(i18n("Filter"), CTRL + Key_F,
TQT_TQOBJECT(this), TQT_SLOT(slotFilterLabelActivated()),
this, TQ_SLOT(slotFilterLabelActivated()),
actionCollection(), "quick_filter_accel");
(void) new TDEAction(i18n("Clear Filter"), TQString::fromLatin1("locationbar_erase"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotClearFilter()),
this, TQ_SLOT(slotClearFilter()),
actionCollection(), "quick_filter_clear");
m_quickFilter = new GUI::LineEdit();
@ -748,8 +748,8 @@ void MainWindow::initActions() {
// about 10 characters wide
m_quickFilter->setFixedWidth(m_quickFilter->fontMetrics().maxWidth()*10);
// want to update every time the filter text changes
connect(m_quickFilter, TQT_SIGNAL(textChanged(const TQString&)),
TQT_TQOBJECT(this), TQT_SLOT(slotQueueFilter()));
connect(m_quickFilter, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(slotQueueFilter()));
m_quickFilter->installEventFilter(this); // intercept keyEvents
KWidgetAction* wAction = new KWidgetAction(m_quickFilter, i18n("Filter"), 0, 0, 0,
@ -760,10 +760,10 @@ void MainWindow::initActions() {
// show tool tips in status bar
actionCollection()->setHighlightingEnabled(true);
connect(actionCollection(), TQT_SIGNAL(actionStatusText(const TQString &)),
TQT_SLOT(slotStatusMsg(const TQString &)));
connect(actionCollection(), TQT_SIGNAL(clearStatusText()),
TQT_SLOT(slotClearStatus()));
connect(actionCollection(), TQ_SIGNAL(actionStatusText(const TQString &)),
TQ_SLOT(slotStatusMsg(const TQString &)));
connect(actionCollection(), TQ_SIGNAL(clearStatusText()),
TQ_SLOT(slotClearStatus()));
#ifdef UIFILE
kdWarning() << "MainWindow::initActions() - change createGUI() call!" << endl;
@ -781,22 +781,22 @@ void MainWindow::initDocument() {
doc->setLoadAllImages(config.readBoolEntry("Load All Images", false));
// allow status messages from the document
connect(doc, TQT_SIGNAL(signalStatusMsg(const TQString&)),
TQT_SLOT(slotStatusMsg(const TQString&)));
connect(doc, TQ_SIGNAL(signalStatusMsg(const TQString&)),
TQ_SLOT(slotStatusMsg(const TQString&)));
// do stuff that changes when the doc is modified
connect(doc, TQT_SIGNAL(signalModified(bool)),
TQT_SLOT(slotEnableModifiedActions(bool)));
connect(doc, TQ_SIGNAL(signalModified(bool)),
TQ_SLOT(slotEnableModifiedActions(bool)));
connect(Kernel::self()->commandHistory(), TQT_SIGNAL(commandExecuted()),
doc, TQT_SLOT(slotSetModified()));
connect(Kernel::self()->commandHistory(), TQT_SIGNAL(documentRestored()),
doc, TQT_SLOT(slotDocumentRestored()));
connect(Kernel::self()->commandHistory(), TQ_SIGNAL(commandExecuted()),
doc, TQ_SLOT(slotSetModified()));
connect(Kernel::self()->commandHistory(), TQ_SIGNAL(documentRestored()),
doc, TQ_SLOT(slotDocumentRestored()));
}
void MainWindow::initView() {
MARK;
m_split = new TQSplitter(Qt::Horizontal, this);
m_split = new TQSplitter(TQt::Horizontal, this);
setCentralWidget(m_split);
m_viewTabs = new GUI::TabControl(m_split);
@ -807,31 +807,31 @@ void MainWindow::initView() {
TQWhatsThis::add(m_groupView, i18n("<qt>The <i>Group View</i> sorts the entries into groupings "
"based on a selected field.</qt>"));
m_rightSplit = new TQSplitter(Qt::Vertical, m_split);
m_rightSplit = new TQSplitter(TQt::Vertical, m_split);
m_detailedView = new DetailedListView(m_rightSplit, "detailedlistview");
Controller::self()->addObserver(m_detailedView);
TQWhatsThis::add(m_detailedView, i18n("<qt>The <i>Column View</i> shows the value of multiple fields "
"for each entry.</qt>"));
connect(Data::Document::self(), TQT_SIGNAL(signalCollectionImagesLoaded(Tellico::Data::CollPtr)),
m_detailedView, TQT_SLOT(slotRefreshImages()));
connect(Data::Document::self(), TQ_SIGNAL(signalCollectionImagesLoaded(Tellico::Data::CollPtr)),
m_detailedView, TQ_SLOT(slotRefreshImages()));
m_viewStack = new ViewStack(m_rightSplit, "viewstack");
Controller::self()->addObserver(m_viewStack->iconView());
connect(m_viewStack->entryView(), TQT_SIGNAL(signalAction(const KURL&)),
TQT_SLOT(slotURLAction(const KURL&)));
connect(m_viewStack->entryView(), TQ_SIGNAL(signalAction(const KURL&)),
TQ_SLOT(slotURLAction(const KURL&)));
setMinimumWidth(MAIN_WINDOW_MIN_WIDTH);
}
void MainWindow::initConnections() {
// have to toggle the menu item if the dialog gets closed
connect(m_editDialog, TQT_SIGNAL(finished()),
TQT_TQOBJECT(this), TQT_SLOT(slotEditDialogFinished()));
connect(m_editDialog, TQ_SIGNAL(finished()),
this, TQ_SLOT(slotEditDialogFinished()));
// let the group view call filters, too
connect(m_groupView, TQT_SIGNAL(signalUpdateFilter(Tellico::FilterPtr)),
Controller::self(), TQT_SLOT(slotUpdateFilter(Tellico::FilterPtr)));
connect(m_groupView, TQ_SIGNAL(signalUpdateFilter(Tellico::FilterPtr)),
Controller::self(), TQ_SLOT(slotUpdateFilter(Tellico::FilterPtr)));
}
void MainWindow::initFileOpen(bool nofile_) {
@ -1018,7 +1018,7 @@ void MainWindow::readOptions() {
m_viewStack->iconView()->setMaxAllowedIconWidth(Config::maxIconSize());
connect(toolBar("collectionToolBar"), TQT_SIGNAL(modechange()), TQT_SLOT(slotUpdateToolbarIcons()));
connect(toolBar("collectionToolBar"), TQ_SIGNAL(modechange()), TQ_SLOT(slotUpdateToolbarIcons()));
m_toggleGroupWidget->setChecked(Config::showGroupWidget());
slotToggleGroupWidget();
@ -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;
@ -1405,15 +1405,15 @@ void MainWindow::slotFileQuit() {
}
void MainWindow::slotEditCut() {
activateEditSlot(TQT_SLOT(cut()));
activateEditSlot(TQ_SLOT(cut()));
}
void MainWindow::slotEditCopy() {
activateEditSlot(TQT_SLOT(copy()));
activateEditSlot(TQ_SLOT(copy()));
}
void MainWindow::slotEditPaste() {
activateEditSlot(TQT_SLOT(paste()));
activateEditSlot(TQ_SLOT(paste()));
}
void MainWindow::activateEditSlot(const char* slot_) {
@ -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()) {
@ -1450,7 +1450,7 @@ void MainWindow::slotConfigToolbar() {
#else
KEditToolbar dlg(actionCollection());
#endif
connect(&dlg, TQT_SIGNAL(newToolbarConfig()), TQT_TQOBJECT(this), TQT_SLOT(slotNewToolbarConfig()));
connect(&dlg, TQ_SIGNAL(newToolbarConfig()), this, TQ_SLOT(slotNewToolbarConfig()));
dlg.exec();
}
@ -1496,10 +1496,10 @@ void MainWindow::slotShowConfigDialog() {
m_configDlg = new ConfigDialog(this);
m_configDlg->show();
m_configDlg->readConfiguration();
connect(m_configDlg, TQT_SIGNAL(signalConfigChanged()),
TQT_SLOT(slotHandleConfigChange()));
connect(m_configDlg, TQT_SIGNAL(finished()),
TQT_SLOT(slotHideConfigDialog()));
connect(m_configDlg, TQ_SIGNAL(signalConfigChanged()),
TQ_SLOT(slotHandleConfigChange()));
connect(m_configDlg, TQ_SIGNAL(finished()),
TQ_SLOT(slotHideConfigDialog()));
} else {
KWin::activateWindow(m_configDlg->winId());
m_configDlg->show();
@ -1651,7 +1651,7 @@ void MainWindow::slotUpdateCollectionToolBar(Data::CollPtr coll_) {
if(tb) {
KComboBox* cb = tb->getCombo(m_entryGrouping->itemId(i));
if(cb) {
// qt caches the combobox size and never recalculates the sizeHint()
// tqt caches the combobox size and never recalculates the sizeHint()
// the source code recommends calling setFont to invalidate the sizeHint
cb->setFont(cb->font());
cb->updateGeometry();
@ -1680,8 +1680,8 @@ void MainWindow::slotShowReportDialog() {
// myDebug() << "MainWindow::slotShowReport()" << endl;
if(!m_reportDlg) {
m_reportDlg = new ReportDialog(this);
connect(m_reportDlg, TQT_SIGNAL(finished()),
TQT_SLOT(slotHideReportDialog()));
connect(m_reportDlg, TQ_SIGNAL(finished()),
TQ_SLOT(slotHideReportDialog()));
} else {
KWin::activateWindow(m_reportDlg->winId());
}
@ -1783,14 +1783,14 @@ void MainWindow::slotShowFilterDialog() {
m_filterDlg = new FilterDialog(FilterDialog::CreateFilter, this); // allow saving
m_filterDlg->setFilter(m_detailedView->filter());
m_quickFilter->setEnabled(false);
connect(m_filterDlg, TQT_SIGNAL(signalCollectionModified()),
Data::Document::self(), TQT_SLOT(slotSetModified()));
connect(m_filterDlg, TQT_SIGNAL(signalUpdateFilter(Tellico::FilterPtr)),
m_quickFilter, TQT_SLOT(clear()));
connect(m_filterDlg, TQT_SIGNAL(signalUpdateFilter(Tellico::FilterPtr)),
Controller::self(), TQT_SLOT(slotUpdateFilter(Tellico::FilterPtr)));
connect(m_filterDlg, TQT_SIGNAL(finished()),
TQT_SLOT(slotHideFilterDialog()));
connect(m_filterDlg, TQ_SIGNAL(signalCollectionModified()),
Data::Document::self(), TQ_SLOT(slotSetModified()));
connect(m_filterDlg, TQ_SIGNAL(signalUpdateFilter(Tellico::FilterPtr)),
m_quickFilter, TQ_SLOT(clear()));
connect(m_filterDlg, TQ_SIGNAL(signalUpdateFilter(Tellico::FilterPtr)),
Controller::self(), TQ_SLOT(slotUpdateFilter(Tellico::FilterPtr)));
connect(m_filterDlg, TQ_SIGNAL(finished()),
TQ_SLOT(slotHideFilterDialog()));
} else {
KWin::activateWindow(m_filterDlg->winId());
}
@ -1808,7 +1808,7 @@ void MainWindow::slotHideFilterDialog() {
void MainWindow::slotQueueFilter() {
m_queuedFilters++;
TQTimer::singleShot(200, TQT_TQOBJECT(this), TQT_SLOT(slotUpdateFilter()));
TQTimer::singleShot(200, this, TQ_SLOT(slotUpdateFilter()));
}
void MainWindow::slotUpdateFilter() {
@ -1836,7 +1836,7 @@ void MainWindow::setFilter(const TQString& text_) {
}
}
// if the text contains any non-word characters, assume it's a regexp
// but \W in qt is letter, number, or '_', I want to be a bit less strict
// but \W in tqt is letter, number, or '_', I want to be a bit less strict
TQRegExp rx(TQString::fromLatin1("[^\\w\\s-']"));
if(text.find(rx) == -1) {
// split by whitespace, and add rules for each word
@ -1872,8 +1872,8 @@ void MainWindow::setFilter(const TQString& text_) {
void MainWindow::slotShowCollectionFieldsDialog() {
if(!m_collFieldsDlg) {
m_collFieldsDlg = new CollectionFieldsDialog(Data::Document::self()->collection(), this);
connect(m_collFieldsDlg, TQT_SIGNAL(finished()),
TQT_SLOT(slotHideCollectionFieldsDialog()));
connect(m_collFieldsDlg, TQ_SIGNAL(finished()),
TQ_SLOT(slotHideCollectionFieldsDialog()));
} else {
KWin::activateWindow(m_collFieldsDlg->winId());
}
@ -1976,8 +1976,8 @@ void MainWindow::slotShowStringMacroDialog() {
m_stringMacroDlg = new StringMapDialog(c->macroList(), this, "StringMacroDialog", false);
m_stringMacroDlg->setCaption(i18n("String Macros"));
m_stringMacroDlg->setLabels(i18n("Macro"), i18n("String"));
connect(m_stringMacroDlg, TQT_SIGNAL(finished()), TQT_SLOT(slotHideStringMacroDialog()));
connect(m_stringMacroDlg, TQT_SIGNAL(okClicked()), TQT_SLOT(slotStringMacroDialogOk()));
connect(m_stringMacroDlg, TQ_SIGNAL(finished()), TQ_SLOT(slotHideStringMacroDialog()));
connect(m_stringMacroDlg, TQ_SIGNAL(okClicked()), TQ_SLOT(slotStringMacroDialogOk()));
} else {
KWin::activateWindow(m_stringMacroDlg->winId());
}
@ -2046,8 +2046,8 @@ void MainWindow::slotCiteEntry(int action_) {
void MainWindow::slotShowFetchDialog() {
if(!m_fetchDlg) {
m_fetchDlg = new FetchDialog(this);
connect(m_fetchDlg, TQT_SIGNAL(finished()), TQT_SLOT(slotHideFetchDialog()));
connect(Controller::self(), TQT_SIGNAL(collectionAdded(int)), m_fetchDlg, TQT_SLOT(slotResetCollection()));
connect(m_fetchDlg, TQ_SIGNAL(finished()), TQ_SLOT(slotHideFetchDialog()));
connect(Controller::self(), TQ_SIGNAL(collectionAdded(int)), m_fetchDlg, TQ_SLOT(slotResetCollection()));
} else {
KWin::activateWindow(m_fetchDlg->winId());
}
@ -2276,7 +2276,7 @@ void MainWindow::updateCollectionActions() {
}
void MainWindow::updateEntrySources() {
TQSignalMapper* mapper = ::tqqt_cast<TQSignalMapper*>(child("update_mapper"));
TQSignalMapper* mapper = ::tqt_cast<TQSignalMapper*>(child("update_mapper"));
if(!mapper) {
kdWarning() << "MainWindow::updateEntrySources() - no update mapper!" << endl;
return;
@ -2296,7 +2296,7 @@ void MainWindow::updateEntrySources() {
action->setText(it->source());
action->setToolTip(i18n("Update entry data from %1").arg(it->source()));
action->setIconSet(Fetch::Manager::fetcherIcon(it.data()));
connect(action, TQT_SIGNAL(activated()), mapper, TQT_SLOT(map()));
connect(action, TQ_SIGNAL(activated()), mapper, TQ_SLOT(map()));
mapper->setMapping(action, it->source());
m_fetchActions.append(action);
}

@ -71,7 +71,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class MainWindow : public TDEMainWindow, public ApplicationInterface {
Q_OBJECT
TQ_OBJECT
friend class Controller;

@ -97,7 +97,7 @@ private:
Dialog::Dialog(NewStuff::DataType type_, TQWidget* parent_)
: KDialogBase(KDialogBase::Plain, i18n("Get Hot New Stuff"), 0, (KDialogBase::ButtonCode)0, parent_)
, m_manager(new Manager(TQT_TQOBJECT(this)))
, m_manager(new Manager(this))
, m_type(type_)
, m_timer(new TQTimer(this))
, m_cursorSaver(new GUI::CursorSaver())
@ -109,7 +109,7 @@ Dialog::Dialog(NewStuff::DataType type_, TQWidget* parent_)
TQFrame* frame = plainPage();
TQBoxLayout* boxLayout = new TQVBoxLayout(frame, 0, KDialog::spacingHint());
m_split = new TQSplitter(Qt::Vertical, frame);
m_split = new TQSplitter(TQt::Vertical, frame);
boxLayout->addWidget(m_split);
m_listView = new GUI::ListView(m_split);
@ -122,7 +122,7 @@ Dialog::Dialog(NewStuff::DataType type_, TQWidget* parent_)
m_listView->addColumn(i18n("Release Date"));
m_listView->setSorting(2, false);
m_listView->setResizeMode(TQListView::AllColumns);
connect(m_listView, TQT_SIGNAL(clicked(TQListViewItem*)), TQT_SLOT(slotSelected(TQListViewItem*)));
connect(m_listView, TQ_SIGNAL(clicked(TQListViewItem*)), TQ_SLOT(slotSelected(TQListViewItem*)));
TQWhatsThis::add(m_listView, i18n("This is a list of all the items available for download. "
"Previously installed items have a checkmark icon, while "
"items with new version available have an update icon"));
@ -147,7 +147,7 @@ Dialog::Dialog(NewStuff::DataType type_, TQWidget* parent_)
m_install = new KPushButton(i18n("Install"), widget);
m_install->setIconSet(SmallIconSet(TQString::fromLatin1("knewstuff")));
m_install->setEnabled(false);
connect(m_install, TQT_SIGNAL(clicked()), TQT_SLOT(slotInstall()));
connect(m_install, TQ_SIGNAL(clicked()), TQ_SLOT(slotInstall()));
// the button's text changes later
// I don't want it resizing, so figure out the maximum size and set that
@ -211,10 +211,10 @@ Dialog::Dialog(NewStuff::DataType type_, TQWidget* parent_)
m_statusBar->addWidget(m_progress, 0, true);
KPushButton* closeButton = new KPushButton(KStdGuiItem::close(), box);
connect(closeButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotClose()));
connect(closeButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotClose()));
closeButton->setFocus();
connect(m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotMoveProgress()));
connect(m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotMoveProgress()));
setMinimumWidth(TQMAX(minimumWidth(), NEW_STUFF_MIN_WIDTH));
setMinimumHeight(TQMAX(minimumHeight(), NEW_STUFF_MIN_HEIGHT));
@ -229,9 +229,9 @@ Dialog::Dialog(NewStuff::DataType type_, TQWidget* parent_)
setStatus(i18n("Downloading information..."));
KNS::ProviderLoader* loader = new KNS::ProviderLoader(this);
connect(loader, TQT_SIGNAL(providersLoaded(Provider::List*)), this, TQT_SLOT(slotProviders(Provider::List*)));
connect(loader, TQT_SIGNAL(percent(TDEIO::Job*, unsigned long)), this, TQT_SLOT(slotShowPercent(TDEIO::Job*, unsigned long)));
connect(loader, TQT_SIGNAL(error()), this, TQT_SLOT(slotProviderError()));
connect(loader, TQ_SIGNAL(providersLoaded(Provider::List*)), this, TQ_SLOT(slotProviders(Provider::List*)));
connect(loader, TQ_SIGNAL(percent(TDEIO::Job*, unsigned long)), this, TQ_SLOT(slotShowPercent(TDEIO::Job*, unsigned long)));
connect(loader, TQ_SIGNAL(error()), this, TQ_SLOT(slotProviderError()));
TDEConfigGroup config(TDEGlobal::config(), "TDENewStuff");
TQString prov = config.readEntry("ProvidersUrl");
@ -271,11 +271,11 @@ void Dialog::slotProviders(Provider::List* list_) {
for(KNS::Provider* prov = list_->first(); prov; prov = list_->next()) {
TDEIO::TransferJob* job = TDEIO::get(prov->downloadUrl());
m_jobs[job] = prov;
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotResult(TDEIO::Job*)));
connect(job, TQT_SIGNAL(percent(TDEIO::Job*, unsigned long)),
TQT_SLOT(slotShowPercent(TDEIO::Job*, unsigned long)));
connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
connect(job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(slotResult(TDEIO::Job*)));
connect(job, TQ_SIGNAL(percent(TDEIO::Job*, unsigned long)),
TQ_SLOT(slotShowPercent(TDEIO::Job*, unsigned long)));
}
}
@ -375,9 +375,9 @@ void Dialog::slotSelected(TQListViewItem* item_) {
KURL dest;
dest.setPath(m_tempPreviewImage->name());
TDEIO::FileCopyJob* job = TDEIO::file_copy(preview, dest, -1, true, false, false);
connect(job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotPreviewResult(TDEIO::Job*)));
connect(job, TQT_SIGNAL(percent(TDEIO::Job*, unsigned long)),
TQT_SLOT(slotShowPercent(TDEIO::Job*, unsigned long)));
connect(job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(slotPreviewResult(TDEIO::Job*)));
connect(job, TQ_SIGNAL(percent(TDEIO::Job*, unsigned long)),
TQ_SLOT(slotShowPercent(TDEIO::Job*, unsigned long)));
m_lastPreviewItem = item_;
}
TQPixmap pix = m_type == EntryTemplate
@ -423,7 +423,7 @@ void Dialog::slotInstall() {
setStatus(i18n("Installing item..."));
m_progress->show();
m_timer->start(100);
connect(m_manager, TQT_SIGNAL(signalInstalled(KNS::Entry*)), TQT_SLOT(slotDoneInstall(KNS::Entry*)));
connect(m_manager, TQ_SIGNAL(signalInstalled(KNS::Entry*)), TQ_SLOT(slotDoneInstall(KNS::Entry*)));
mJobEntry = entry;
// OpenDesktop.org broke the basic functionality of TDEHNS by forcing
@ -437,10 +437,10 @@ void Dialog::slotInstall() {
// in the direct download ability for this to even be considered.
if (entry->payload().url().contains(OPENDESKTOP_REDIRECT_URL)) {
TDEIO::TransferJob *job = TDEIO::get( KURL( entry->payload() ), false, false );
connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
TQT_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
TQ_SLOT( slotJobResult( TDEIO::Job * ) ) );
connect( job, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
TQ_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
}
else {
slotInstallPhase2();
@ -540,7 +540,7 @@ void Dialog::slotPreviewResult(TDEIO::Job* job_) {
if(!pix.isNull()) {
if(pix.width() > 64 || pix.height() > 64) {
pix.convertFromImage(pix.convertToImage().smoothScale(64, 64, TQ_ScaleMin));
pix.convertFromImage(pix.convertToImage().smoothScale(64, 64, TQImage::ScaleMin));
}
// only set label if it's still current
if(m_listView->selectedItem() == m_lastPreviewItem) {

@ -43,7 +43,7 @@ using namespace KNS;
namespace NewStuff {
class Dialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -259,7 +259,7 @@ Tellico::NewStuff::InstallStatus Manager::installStatus(KNS::Entry* entry_) {
return NotInstalled;
}
TQDate date = TQDate::fromString(datestring, Qt::ISODate);
TQDate date = TQDate::fromString(datestring, TQt::ISODate);
if(!date.isValid()) {
return NotInstalled;
}
@ -347,7 +347,7 @@ void Manager::install(DataType type_, KNS::Entry* entry_) {
KURL destination;
destination.setPath(m_tempFile->name());
TDEIO::FileCopyJob* job = TDEIO::file_copy(entry_->payload(), destination, -1, true);
connect(job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotDownloadJobResult(TDEIO::Job*)));
connect(job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(slotDownloadJobResult(TDEIO::Job*)));
m_jobMap.insert(job, EntryPair(entry_, type_));
}
@ -377,7 +377,7 @@ void Manager::slotDownloadJobResult(TDEIO::Job* job_) {
#if KDE_IS_VERSION(3,3,90)
// needed so the GPG signature can be checked
NewScript* newScript = new NewScript(this, Kernel::self()->widget());
connect(newScript, TQT_SIGNAL(installFinished()), this, TQT_SLOT(slotInstallFinished()));
connect(newScript, TQ_SIGNAL(installFinished()), this, TQ_SLOT(slotInstallFinished()));
// need to delete temp file if install was not a success
// if it was a success, it gets deleted later
deleteTempFile = !newScript->install(job->destURL().path());
@ -395,7 +395,7 @@ void Manager::slotDownloadJobResult(TDEIO::Job* job_) {
}
void Manager::slotInstallFinished() {
const NewScript* newScript = ::tqqt_cast<const NewScript*>(sender());
const NewScript* newScript = ::tqt_cast<const NewScript*>(sender());
if(newScript && newScript->successfulInstall()) {
const TQString name = m_urlNameMap[newScript->url()];
KNS::Entry* entry = m_scriptEntryMap[newScript];
@ -404,7 +404,7 @@ void Manager::slotInstallFinished() {
// of the newstuff entry, so we can track which entries are installed
// name and entry-name() are probably the same for scripts, but not a problem
config.writeEntry(name, entry->name());
config.writeEntry(entry->name(), TQString(entry->releaseDate().toString(Qt::ISODate)));
config.writeEntry(entry->name(), TQString(entry->releaseDate().toString(TQt::ISODate)));
config.sync();
emit signalInstalled(entry);
} else {

@ -55,7 +55,7 @@ struct DataSourceInfo {
};
class Manager : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -32,7 +32,7 @@ namespace Tellico {
class Manager;
class NewScript : public SUPERCLASS {
Q_OBJECT
TQ_OBJECT
public:

@ -56,7 +56,7 @@ void ProgressItem::setDone() {
}
emit signalDone(this);
// make sure the deleting doesn't interfere with anything
TQTimer::singleShot(3000, this, TQT_SLOT(deleteLater()));
TQTimer::singleShot(3000, this, TQ_SLOT(deleteLater()));
}
void ProgressItem::cancel() {
@ -131,12 +131,12 @@ ProgressItem& ProgressManager::newProgressItemImpl(const TQObject* owner_,
ProgressItem* item = new ProgressItem(label_, canCancel_);
m_items.insert(owner_, item);
connect(item, TQT_SIGNAL(signalTotalSteps(ProgressItem*)), TQT_SLOT(slotUpdateTotalProgress()));
connect(item, TQT_SIGNAL(signalProgress(ProgressItem*)), TQT_SLOT(slotUpdateTotalProgress()));
connect(item, TQT_SIGNAL(signalDone(ProgressItem*)), TQT_SLOT(slotUpdateTotalProgress()));
connect(item, TQT_SIGNAL(signalDone(ProgressItem*)), TQT_SLOT(slotItemDone(ProgressItem*)));
connect(item, TQ_SIGNAL(signalTotalSteps(ProgressItem*)), TQ_SLOT(slotUpdateTotalProgress()));
connect(item, TQ_SIGNAL(signalProgress(ProgressItem*)), TQ_SLOT(slotUpdateTotalProgress()));
connect(item, TQ_SIGNAL(signalDone(ProgressItem*)), TQ_SLOT(slotUpdateTotalProgress()));
connect(item, TQ_SIGNAL(signalDone(ProgressItem*)), TQ_SLOT(slotItemDone(ProgressItem*)));
// connect(item, TQT_SIGNAL(signalProgress(ProgressItem*)), TQT_SIGNAL(signalItemProgress(ProgressItem*)));
// connect(item, TQ_SIGNAL(signalProgress(ProgressItem*)), TQ_SIGNAL(signalItemProgress(ProgressItem*)));
// emit signalItemAdded(item);
return *item;
}

@ -29,7 +29,7 @@ class ProgressManager;
* @author Robby Stephenson
*/
class ProgressItem : public TQObject {
Q_OBJECT
TQ_OBJECT
friend class ProgressManager;
@ -79,7 +79,7 @@ private:
* @author Robby Stephenson
*/
class ProgressManager : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -82,17 +82,17 @@ ReportDialog::ReportDialog(TQWidget* parent_, const char* name_/*=0*/)
KPushButton* pb1 = new KPushButton(SmallIconSet(TQString::fromLatin1("application-x-executable")), i18n("&Generate"), mainWidget);
hlay->addWidget(pb1);
connect(pb1, TQT_SIGNAL(clicked()), TQT_SLOT(slotGenerate()));
connect(pb1, TQ_SIGNAL(clicked()), TQ_SLOT(slotGenerate()));
hlay->addStretch();
KPushButton* pb2 = new KPushButton(KStdGuiItem::saveAs(), mainWidget);
hlay->addWidget(pb2);
connect(pb2, TQT_SIGNAL(clicked()), TQT_SLOT(slotSaveAs()));
connect(pb2, TQ_SIGNAL(clicked()), TQ_SLOT(slotSaveAs()));
KPushButton* pb3 = new KPushButton(KStdGuiItem::print(), mainWidget);
hlay->addWidget(pb3);
connect(pb3, TQT_SIGNAL(clicked()), TQT_SLOT(slotPrint()));
connect(pb3, TQ_SIGNAL(clicked()), TQ_SLOT(slotPrint()));
m_HTMLPart = new TDEHTMLPart(mainWidget);
m_HTMLPart->setJScriptEnabled(false);

@ -30,7 +30,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ReportDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:

@ -14,7 +14,7 @@
* *
***************************************************************************/
// force to use QT with STL
// force to use TQt with STL
#if defined(TQT_NO_STL)
# define DISABLE_TQT_NO_STL
# undef TQT_NO_STL

@ -106,8 +106,9 @@ std::string table::make()
cell_def_2=
std::find_if((*span_row)->CellDefs->begin(),
(*span_row)->CellDefs->end(),
std::bind2nd(
std::mem_fun(&table_cell_def::right_equals),
std::bind(
std::mem_fn(&table_cell_def::right_equals),
std::placeholders::_1,
(*cell_def)->Right));
if (cell_def_2==(*span_row)->CellDefs->end())
break;
@ -157,8 +158,9 @@ std::string table::make()
cell_def_2=
std::find_if((*row2)->CellDefs->begin(),
(*row2)->CellDefs->end(),
std::bind2nd(
std::mem_fun(&table_cell_def::right_equals),
std::bind(
std::mem_fn(&table_cell_def::right_equals),
std::placeholders::_1,
left));
if (cell_def_2!=(*row2)->CellDefs->end())
{
@ -167,8 +169,9 @@ std::string table::make()
cell_def_2=
std::find_if((*row2)->CellDefs->begin(),
(*row2)->CellDefs->end(),
std::bind2nd(
std::mem_fun(&table_cell_def::left_equals),
std::bind(
std::mem_fn(&table_cell_def::left_equals),
std::placeholders::_1,
right));
if (cell_def_2!=(*row2)->CellDefs->end())
{

@ -54,17 +54,17 @@ StatusBar::StatusBar(TQWidget* parent_) : KStatusBar(parent_) {
m_cancelButton->hide();
ProgressManager* pm = ProgressManager::self();
connect(pm, TQT_SIGNAL(signalTotalProgress(uint)), TQT_SLOT(slotProgress(uint)));
connect(m_cancelButton, TQT_SIGNAL(clicked()), pm, TQT_SLOT(slotCancelAll()));
connect(pm, TQ_SIGNAL(signalTotalProgress(uint)), TQ_SLOT(slotProgress(uint)));
connect(m_cancelButton, TQ_SIGNAL(clicked()), pm, TQ_SLOT(slotCancelAll()));
}
void StatusBar::polish() {
KStatusBar::polish();
int h = 0;
TQObjectList* list = queryList(TQWIDGET_OBJECT_NAME_STRING, 0, false, false);
TQObjectList* list = queryList("TQWidget", 0, false, false);
for(TQObject* o = list->first(); o; o = list->next()) {
int _h = TQT_TQWIDGET(o)->minimumSizeHint().height();
int _h = static_cast<TQWidget*>(o)->minimumSizeHint().height();
if(_h > h) {
h = _h;
}
@ -73,7 +73,7 @@ void StatusBar::polish() {
h -= 4; // hint from amarok, it's too big usually
for(TQObject* o = list->first(); o; o = list->next()) {
TQT_TQWIDGET(o)->setFixedHeight(h);
static_cast<TQWidget*>(o)->setFixedHeight(h);
}
delete list;
@ -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 ???
}
}
@ -110,10 +110,10 @@ void StatusBar::slotUpdate() {
/*
myDebug() << "StatusBar::slotUpdate() - " << m_progress->isShown() << endl;
if(m_progressBox->isEmpty()) {
TQTimer::singleShot(0, m_progress, TQT_SLOT(hide()));
TQTimer::singleShot(0, m_progress, TQ_SLOT(hide()));
// m_progressBox->hide();
} else {
TQTimer::singleShot(0, m_progress, TQT_SLOT(show()));
TQTimer::singleShot(0, m_progress, TQ_SLOT(show()));
// m_progressBox->show();
}
*/

@ -29,7 +29,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class StatusBar : public KStatusBar {
Q_OBJECT
TQ_OBJECT
public:

@ -366,7 +366,7 @@ TQPair<Tellico::Data::FieldVec, Tellico::Data::FieldVec> Kernel::mergeFields(Dat
}
}
}
return tqMakePair(modified, created);
return qMakePair(modified, created);
}
int Kernel::askAndMerge(Data::EntryPtr entry1_, Data::EntryPtr entry2_, Data::FieldPtr field_,

@ -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;
@ -167,11 +167,11 @@ bool AlexandriaExporter::writeFile(const TQDir& dir_, Data::ConstEntryPtr entry_
TQString filename = dir_.absPath() + TQDir::separator() + isbn;
if(img1.height() > ALEXANDRIA_MAX_SIZE_SMALL) {
if(img1.height() > ALEXANDRIA_MAX_SIZE_MEDIUM) { // limit maximum size
img1 = img1.scale(ALEXANDRIA_MAX_SIZE_MEDIUM, ALEXANDRIA_MAX_SIZE_MEDIUM, TQ_ScaleMin);
img1 = img1.scale(ALEXANDRIA_MAX_SIZE_MEDIUM, ALEXANDRIA_MAX_SIZE_MEDIUM, TQImage::ScaleMin);
}
img2 = img1.scale(ALEXANDRIA_MAX_SIZE_SMALL, ALEXANDRIA_MAX_SIZE_SMALL, TQ_ScaleMin);
img2 = img1.scale(ALEXANDRIA_MAX_SIZE_SMALL, ALEXANDRIA_MAX_SIZE_SMALL, TQImage::ScaleMin);
} else {
img2 = img1.smoothScale(ALEXANDRIA_MAX_SIZE_MEDIUM, ALEXANDRIA_MAX_SIZE_MEDIUM, TQ_ScaleMin); // scale up
img2 = img1.smoothScale(ALEXANDRIA_MAX_SIZE_MEDIUM, ALEXANDRIA_MAX_SIZE_MEDIUM, TQImage::ScaleMin); // scale up
}
if(!img1.save(filename + TQString::fromLatin1("_medium.jpg"), "JPEG")
|| !img2.save(filename + TQString::fromLatin1("_small.jpg"), "JPEG")) {

@ -28,7 +28,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class AlexandriaExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -65,7 +65,7 @@ Tellico::Data::CollPtr AlexandriaImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(numFiles);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
TQStringList covers;
@ -86,7 +86,7 @@ Tellico::Data::CollPtr AlexandriaImporter::collection() {
bool readNextLine = true;
ts.unsetDevice();
ts.setDevice(TQT_TQIODEVICE(&file));
ts.setDevice(&file);
TQString line;
while(!ts.atEnd()) {
if(readNextLine) {
@ -172,7 +172,7 @@ Tellico::Data::CollPtr AlexandriaImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}
@ -190,7 +190,7 @@ TQWidget* AlexandriaImporter::widget(TQWidget* parent_, const char* name_/*=0*/)
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* box = new TQGroupBox(2, Qt::Horizontal, i18n("Alexandria Options"), m_widget);
TQGroupBox* box = new TQGroupBox(2, TQt::Horizontal, i18n("Alexandria Options"), m_widget);
TQLabel* label = new TQLabel(i18n("&Library:"), box);
m_library = new KComboBox(box);
label->setBuddy(m_library);

@ -34,7 +34,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class AlexandriaImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -72,7 +72,7 @@ Tellico::Data::CollPtr AMCImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(f->size());
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
m_coll = new Data::VideoCollection(true);
@ -95,7 +95,7 @@ Tellico::Data::CollPtr AMCImporter::collection() {
readEntry();
if(showProgress) {
ProgressManager::self()->setProgress(this, f->at());
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -23,7 +23,7 @@ namespace Tellico {
@author Robby Stephenson
*/
class AMCImporter : public DataImporter {
Q_OBJECT
TQ_OBJECT
public:
AMCImporter(const KURL& url);

@ -44,6 +44,9 @@
#include <tqdir.h>
#include <tqwhatsthis.h>
#define TStringToTQString(s) TQString::fromUtf8((s).toCString(true))
using Tellico::Import::AudioFileImporter;
AudioFileImporter::AudioFileImporter(const KURL& url_) : Tellico::Import::Importer(url_)
@ -67,7 +70,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, i18n("Scanning audio files..."), true);
item.setTotalSteps(100);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
// TODO: allow remote audio file importing
@ -94,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) {
@ -148,7 +151,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
}
TagLib::Tag* tag = f.tag();
TQString album = TQString(TStringToQString(tag->album())).stripWhiteSpace();
TQString album = TStringToTQString(tag->album()).stripWhiteSpace();
if(album.isEmpty()) {
// can't do anything since tellico entries are by album
kdWarning() << "Skipping: no album listed for " << *it << endl;
@ -182,7 +185,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
}
// album entries use the album name as the title
entry->setField(title, album);
TQString a = TQString(TStringToQString(tag->artist())).stripWhiteSpace();
TQString a = TStringToTQString(tag->artist()).stripWhiteSpace();
if(!a.isEmpty()) {
if(exists && entry->field(artist).lower() != a.lower()) {
various = true;
@ -195,7 +198,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
entry->setField(year, TQString::number(tag->year()));
}
if(!tag->genre().isEmpty()) {
entry->setField(genre, TQString(TStringToQString(tag->genre())).stripWhiteSpace());
entry->setField(genre, TStringToTQString(tag->genre()).stripWhiteSpace());
}
if(!tag->title().isEmpty()) {
@ -228,7 +231,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
}
}
if(trackNum > 0) {
TQString t = TQString(TStringToQString(tag->title())).stripWhiteSpace();
TQString t = TStringToTQString(tag->title()).stripWhiteSpace();
t += "::" + a;
const int len = f.audioProperties()->length();
if(len > 0) {
@ -255,9 +258,9 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
c += TQString::fromLatin1("<br/>");
}
if(!tag->title().isEmpty()) {
c += TQString::fromLatin1("<em>") + TQString(TStringToQString(tag->title())).stripWhiteSpace() + TQString::fromLatin1("</em> - ");
c += TQString::fromLatin1("<em>") + TStringToTQString(tag->title()).stripWhiteSpace() + TQString::fromLatin1("</em> - ");
}
c += TQString(TStringToQString(tag->comment().stripWhiteSpace())).stripWhiteSpace();
c += TStringToTQString(tag->comment().stripWhiteSpace()).stripWhiteSpace();
entry->setField(comments, c);
}
@ -267,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;
@ -293,7 +296,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
continue;
}
ts.unsetDevice();
ts.setDevice(TQT_TQIODEVICE(&file));
ts.setDevice(&file);
for(TQString line = ts.readLine(); !line.isNull(); line = ts.readLine()) {
if(!iconRx.exactMatch(line)) {
continue;
@ -316,7 +319,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}
@ -347,7 +350,7 @@ TQWidget* AudioFileImporter::widget(TQWidget* parent_, const char* name_) {
m_addFilePath = new TQCheckBox(i18n("Include file &location"), box);
TQWhatsThis::add(m_addFilePath, i18n("If checked, the file names for each track are added to the entries."));
m_addFilePath->setChecked(false);
connect(m_addFilePath, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotAddFileToggled(bool)));
connect(m_addFilePath, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotAddFileToggled(bool)));
m_addBitrate = new TQCheckBox(i18n("Include &bitrate"), box);
TQWhatsThis::add(m_addBitrate, i18n("If checked, the bitrate for each track is added to the entries."));
@ -392,15 +395,15 @@ int AudioFileImporter::discNumber(const TagLib::FileRef& ref_) const {
TQString disc;
if(TagLib::MPEG::File* file = dynamic_cast<TagLib::MPEG::File*>(ref_.file())) {
if(file->ID3v2Tag() && !file->ID3v2Tag()->frameListMap()["TPOS"].isEmpty()) {
disc = TQString(TStringToQString(file->ID3v2Tag()->frameListMap()["TPOS"].front()->toString())).stripWhiteSpace();
disc = TStringToTQString(file->ID3v2Tag()->frameListMap()["TPOS"].front()->toString()).stripWhiteSpace();
}
} else if(TagLib::Ogg::Vorbis::File* file = dynamic_cast<TagLib::Ogg::Vorbis::File*>(ref_.file())) {
if(file->tag() && !file->tag()->fieldListMap()["DISCNUMBER"].isEmpty()) {
disc = TQString(TStringToQString(file->tag()->fieldListMap()["DISCNUMBER"].front())).stripWhiteSpace();
disc = TStringToTQString(file->tag()->fieldListMap()["DISCNUMBER"].front()).stripWhiteSpace();
}
} else if(TagLib::FLAC::File* file = dynamic_cast<TagLib::FLAC::File*>(ref_.file())) {
if(file->xiphComment() && !file->xiphComment()->fieldListMap()["DISCNUMBER"].isEmpty()) {
disc = TQString(TStringToQString(file->xiphComment()->fieldListMap()["DISCNUMBER"].front())).stripWhiteSpace();
disc = TStringToTQString(file->xiphComment()->fieldListMap()["DISCNUMBER"].front()).stripWhiteSpace();
}
}

@ -32,7 +32,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class AudioFileImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -191,14 +191,14 @@ bool BibtexExporter::exec() {
}
TQWidget* BibtexExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
if(m_widget && TQT_BASE_OBJECT(m_widget->parent()) == TQT_BASE_OBJECT(parent_)) {
if(m_widget && m_widget->parent() == parent_) {
return m_widget;
}
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("Bibtex Options"), m_widget);
TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("Bibtex Options"), m_widget);
l->addWidget(box);
m_checkExpandMacros = new TQCheckBox(i18n("Expand string macros"), box);

@ -30,7 +30,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class BibtexExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -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());
}
}
@ -62,7 +62,7 @@ Tellico::Data::CollPtr BibtexImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(urls().count() * 100);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
bool useUTF8 = m_widget && 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);

@ -41,7 +41,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class BibtexImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class BibtexmlExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -56,7 +56,7 @@ void BibtexmlImporter::loadDomDocument() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(count);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
for(uint j = 0; !m_cancelled && j < entryelems.count(); ++j) {
@ -64,7 +64,7 @@ void BibtexmlImporter::loadDomDocument() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
} // end entry loop
}

@ -26,7 +26,7 @@ namespace Tellico {
*@author Robby Stephenson
*/
class BibtexmlImporter : public XMLImporter {
Q_OBJECT
TQ_OBJECT
public:

@ -89,7 +89,7 @@ extern AST *zzastStack[];
void zzlink(AST **, AST **, AST **);
void zzsubchild(AST **, AST **, AST **);
void zzsubroot(AST **, AST **, AST **);
void zzpre_ast(AST *, void (*)(), void (*)(), void (*)());
void zzpre_ast(AST *, void (*)(AST *), void (*)(AST *), void (*)(AST *));
void zzfree_ast(AST *);
AST *zztmake(AST *, ...);
AST *zzdup_ast(AST *);

@ -36,7 +36,7 @@
/* This file knows about the following ``environments''
UNIX (default)
DOS (use #define PC)
MAC (use #define MPW; has a few things for THINK C, Metrowerks)
MAC (use #define MPW; has a few things for THINK C)
*/
/*
@ -165,9 +165,6 @@ extern void fsetfileinfo (char *filename, unsigned long newcreator, unsigned lon
#if 0
#define MAC_FILE_CREATOR 'KAHL' /* THINK C/Symantec C++ Text files */
#endif
#if 0
#define MAC_FILE_CREATOR 'MMCC' /* Metrowerks C/C++ Text files */
#endif
#endif

@ -99,14 +99,14 @@ bool CSVExporter::exec() {
}
TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
if(m_widget && TQT_BASE_OBJECT(m_widget->parent()) == TQT_BASE_OBJECT(parent_)) {
if(m_widget && m_widget->parent() == parent_) {
return m_widget;
}
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("CSV Options"), m_widget);
TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("CSV Options"), m_widget);
l->addWidget(box);
m_checkIncludeTitles = new TQCheckBox(i18n("Include field titles as column headers"), box);
@ -114,7 +114,7 @@ TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
TQWhatsThis::add(m_checkIncludeTitles, i18n("If checked, a header row will be added with the "
"field titles."));
TQButtonGroup* delimiterGroup = new TQButtonGroup(0, Qt::Vertical, i18n("Delimiter"), box);
TQButtonGroup* delimiterGroup = new TQButtonGroup(0, TQt::Vertical, i18n("Delimiter"), box);
TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(delimiterGroup->layout());
m_delimiterGroupLayout->setAlignment(TQt::AlignTop);
TQWhatsThis::add(delimiterGroup, i18n("In addition to a comma, other characters may be used as "
@ -145,8 +145,8 @@ TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
m_editOther->setEnabled(m_radioOther->isChecked());
TQWhatsThis::add(m_editOther, i18n("A custom string, such as a colon, may be used as a delimiter."));
m_delimiterGroupLayout->addWidget(m_editOther, 1, 2);
TQObject::connect(m_radioOther, TQT_SIGNAL(toggled(bool)),
m_editOther, TQT_SLOT(setEnabled(bool)));
TQObject::connect(m_radioOther, TQ_SIGNAL(toggled(bool)),
m_editOther, TQ_SLOT(setEnabled(bool)));
if(m_delimiter == TQChar(',')) {
m_radioComma->setChecked(true);

@ -30,7 +30,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class CSVExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -189,7 +189,7 @@ Tellico::Data::CollPtr CSVImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(numLines);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
uint j = 0;
@ -222,7 +222,7 @@ Tellico::Data::CollPtr CSVImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
++j;
}
@ -237,14 +237,14 @@ Tellico::Data::CollPtr CSVImporter::collection() {
}
TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) {
if(m_widget && TQT_BASE_OBJECT(m_widget->parent()) == TQT_BASE_OBJECT(parent_)) {
if(m_widget && m_widget->parent() == parent_) {
return m_widget;
}
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* group = new TQGroupBox(1, Qt::Horizontal, i18n("CSV Options"), m_widget);
TQGroupBox* group = new TQGroupBox(1, TQt::Horizontal, i18n("CSV Options"), m_widget);
l->addWidget(group);
TQHBox* box = new TQHBox(group);
@ -253,22 +253,22 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) {
m_comboColl = new GUI::CollectionTypeCombo(box);
lab->setBuddy(m_comboColl);
TQWhatsThis::add(m_comboColl, i18n("Select the type of collection being imported."));
connect(m_comboColl, TQT_SIGNAL(activated(int)), TQT_SLOT(slotTypeChanged()));
connect(m_comboColl, TQ_SIGNAL(activated(int)), TQ_SLOT(slotTypeChanged()));
// need a spacer
TQWidget* w = new TQWidget(box);
box->setStretchFactor(w, 1);
m_checkFirstRowHeader = new TQCheckBox(i18n("&First row contains field titles"), group);
TQWhatsThis::add(m_checkFirstRowHeader, i18n("If checked, the first row is used as field titles."));
connect(m_checkFirstRowHeader, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotFirstRowHeader(bool)));
connect(m_checkFirstRowHeader, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotFirstRowHeader(bool)));
TQHBox* hbox2 = new TQHBox(group);
m_delimiterGroup = new TQButtonGroup(0, Qt::Vertical, i18n("Delimiter"), hbox2);
m_delimiterGroup = new TQButtonGroup(0, TQt::Vertical, i18n("Delimiter"), hbox2);
TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(m_delimiterGroup->layout(), 3, 3);
m_delimiterGroupLayout->setAlignment(TQt::AlignTop);
TQWhatsThis::add(m_delimiterGroup, i18n("In addition to a comma, other characters may be used as "
"a delimiter, separating each value in the file."));
connect(m_delimiterGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotDelimiter()));
connect(m_delimiterGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotDelimiter()));
m_radioComma = new TQRadioButton(m_delimiterGroup);
m_radioComma->setText(i18n("&Comma"));
@ -297,9 +297,9 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) {
m_editOther->setMaxLength(1);
TQWhatsThis::add(m_editOther, i18n("A custom string, such as a colon, may be used as a delimiter."));
m_delimiterGroupLayout->addWidget(m_editOther, 2, 2);
connect(m_radioOther, TQT_SIGNAL(toggled(bool)),
m_editOther, TQT_SLOT(setEnabled(bool)));
connect(m_editOther, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotDelimiter()));
connect(m_radioOther, TQ_SIGNAL(toggled(bool)),
m_editOther, TQ_SLOT(setEnabled(bool)));
connect(m_editOther, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotDelimiter()));
w = new TQWidget(hbox2);
hbox2->setStretchFactor(w, 1);
@ -313,8 +313,8 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) {
m_table->setReadOnly(true);
m_table->setMinimumHeight(m_widget->fontMetrics().lineSpacing() * 8);
TQWhatsThis::add(m_table, i18n("The table shows up to the first five lines of the CSV file."));
connect(m_table, TQT_SIGNAL(currentChanged(int, int)), TQT_SLOT(slotCurrentChanged(int, int)));
connect(m_table->horizontalHeader(), TQT_SIGNAL(clicked(int)), TQT_SLOT(slotHeaderClicked(int)));
connect(m_table, TQ_SIGNAL(currentChanged(int, int)), TQ_SLOT(slotCurrentChanged(int, int)));
connect(m_table->horizontalHeader(), TQ_SIGNAL(clicked(int)), TQ_SLOT(slotHeaderClicked(int)));
TQWidget* hbox = new TQWidget(group);
TQHBoxLayout* hlay = new TQHBoxLayout(hbox, 5);
@ -326,7 +326,7 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) {
m_colSpinBox = new KIntSpinBox(hbox);
hlay->addWidget(m_colSpinBox);
m_colSpinBox->setMinValue(1);
connect(m_colSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSelectColumn(int)));
connect(m_colSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSelectColumn(int)));
lab->setBuddy(m_colSpinBox);
hlay->addSpacing(10);
@ -334,14 +334,14 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) {
hlay->addWidget(lab);
m_comboField = new KComboBox(hbox);
hlay->addWidget(m_comboField);
connect(m_comboField, TQT_SIGNAL(activated(int)), TQT_SLOT(slotFieldChanged(int)));
connect(m_comboField, TQ_SIGNAL(activated(int)), TQ_SLOT(slotFieldChanged(int)));
lab->setBuddy(m_comboField);
hlay->addSpacing(10);
m_setColumnBtn = new KPushButton(i18n("&Assign Field"), hbox);
hlay->addWidget(m_setColumnBtn);
m_setColumnBtn->setIconSet(SmallIconSet(TQString::fromLatin1("apply")));
connect(m_setColumnBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetColumnTitle()));
connect(m_setColumnBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotSetColumnTitle()));
hlay->addStretch(10);
l->addStretch(1);

@ -39,7 +39,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class CSVImporter : public TextImporter {
Q_OBJECT
TQ_OBJECT
public:

@ -24,7 +24,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class DataImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

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

@ -24,7 +24,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class DeliciousImporter : public XSLTImporter {
Q_OBJECT
TQ_OBJECT
public:

@ -44,7 +44,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class Exporter : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -62,7 +62,7 @@ Tellico::Data::CollPtr FileListingImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, i18n("Scanning files..."), true);
item.setTotalSteps(100);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
// going to assume only one volume will ever be imported
@ -71,8 +71,8 @@ Tellico::Data::CollPtr FileListingImporter::collection() {
m_job = m_recursive->isChecked()
? TDEIO::listRecursive(url(), true, false)
: TDEIO::listDir(url(), true, false);
connect(m_job, TQT_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList&)),
TQT_SLOT(slotEntries(TDEIO::Job*, const TDEIO::UDSEntryList&)));
connect(m_job, TQ_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList&)),
TQ_SLOT(slotEntries(TDEIO::Job*, const TDEIO::UDSEntryList&)));
if(!TDEIO::NetAccess::synchronousRun(m_job, Kernel::self()->widget()) || m_cancelled) {
return 0;
@ -123,13 +123,13 @@ Tellico::Data::CollPtr FileListingImporter::collection() {
if(t > 0) {
TQDateTime dt;
dt.setTime_t(t);
entry->setField(created, dt.toString(Qt::ISODate));
entry->setField(created, dt.toString(TQt::ISODate));
}
t = it.current()->time(TDEIO::UDS_MODIFICATION_TIME);
if(t > 0) {
TQDateTime dt;
dt.setTime_t(t);
entry->setField(modified, dt.toString(Qt::ISODate));
entry->setField(modified, dt.toString(TQt::ISODate));
}
const KFileMetaInfo& meta = it.current()->metaInfo();
if(meta.isValid() && !meta.isEmpty()) {
@ -168,7 +168,7 @@ Tellico::Data::CollPtr FileListingImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -34,7 +34,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FileListingImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -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");
@ -340,7 +340,7 @@ void FreeDBImporter::readCache() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(numFiles);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
uint step = 1;
@ -420,7 +420,7 @@ void FreeDBImporter::readCache() {
if(showProgress && step%stepSize == 0) {
ProgressManager::self()->setProgress(this, step);
kapp->processEvents();
tdeApp->processEvents();
}
}
#endif
@ -486,7 +486,7 @@ TQWidget* FreeDBImporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* bigbox = new TQGroupBox(1, Qt::Horizontal, i18n("Audio CD Options"), m_widget);
TQGroupBox* bigbox = new TQGroupBox(1, TQt::Horizontal, i18n("Audio CD Options"), m_widget);
// cdrom stuff
TQHBox* box = new TQHBox(bigbox);
@ -509,7 +509,7 @@ TQWidget* FreeDBImporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
m_buttonGroup->setExclusive(true);
m_buttonGroup->insert(m_radioCDROM);
m_buttonGroup->insert(m_radioCache);
connect(m_buttonGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotClicked(int)));
connect(m_buttonGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotClicked(int)));
l->addWidget(bigbox);
l->addStretch(1);

@ -32,7 +32,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class FreeDBImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -25,7 +25,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class GCfilmsExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -22,7 +22,7 @@
#include "tellicoimporter.h"
#include <tdeapplication.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tqtextcodec.h>
@ -49,7 +49,7 @@ Tellico::Data::CollPtr GCfilmsImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(100);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
TQString str = text();
@ -224,7 +224,7 @@ void GCfilmsImporter::readGCfilms(const TQString& text_) {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -26,7 +26,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class GCfilmsImporter : public TextImporter {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -53,9 +53,9 @@ Tellico::Data::CollPtr GriffithImporter::collection() {
}
m_process = new TDEProcess();
connect(m_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQT_SLOT(slotData(TDEProcess*, char*, int)));
connect(m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQT_SLOT(slotError(TDEProcess*, char*, int)));
connect(m_process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(slotProcessExited(TDEProcess*)));
connect(m_process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQ_SLOT(slotData(TDEProcess*, char*, int)));
connect(m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQ_SLOT(slotError(TDEProcess*, char*, int)));
connect(m_process, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(slotProcessExited(TDEProcess*)));
*m_process << python << griffith;
if(!m_process->start(TDEProcess::Block, TDEProcess::AllOutput)) {
myDebug() << "ExecExternalFetcher::startSearch() - process failed to start" << endl;

@ -31,7 +31,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class GriffithImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -28,7 +28,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class GRS1Importer : public TextImporter {
Q_OBJECT
TQ_OBJECT
public:

@ -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>
@ -121,7 +121,7 @@ bool HTMLExporter::exec() {
if(options() & ExportProgress) {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, TQString(), true);
item.setTotalSteps(100);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
}
// ok if not ExportProgress, no worries
ProgressItem::Done done(this);
@ -451,7 +451,7 @@ void HTMLExporter::writeImages(Data::CollPtr coll_) {
}
if(++count == processCount) {
kapp->processEvents();
tdeApp->processEvents();
count = 0;
}
}
@ -459,14 +459,14 @@ void HTMLExporter::writeImages(Data::CollPtr coll_) {
}
TQWidget* HTMLExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
if(m_widget && TQT_BASE_OBJECT(m_widget->parent()) == TQT_BASE_OBJECT(parent_)) {
if(m_widget && m_widget->parent() == parent_) {
return m_widget;
}
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("HTML Options"), m_widget);
TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("HTML Options"), m_widget);
l->addWidget(box);
m_checkPrintHeaders = new TQCheckBox(i18n("Print field headers"), box);
@ -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

@ -39,7 +39,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class HTMLExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -40,7 +40,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class Importer : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -23,7 +23,7 @@
#include <config.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeapplication.h>
#include <kzip.h>
#include <tdeconfig.h>
@ -78,7 +78,7 @@ bool ONIXExporter::exec() {
TQByteArray data;
TQBuffer buf(data);
KZip zip(TQT_TQIODEVICE(&buf));
KZip zip(&buf);
zip.open(IO_WriteOnly);
zip.writeFile(TQString::fromLatin1("onix.xml"), TQString(), TQString(), xml.length(), xml);
@ -166,14 +166,14 @@ TQString ONIXExporter::text() {
}
TQWidget* ONIXExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
if(m_widget && TQT_BASE_OBJECT(m_widget->parent()) == TQT_BASE_OBJECT(parent_)) {
if(m_widget && m_widget->parent() == parent_) {
return m_widget;
}
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("ONIX Archive Options"), m_widget);
TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("ONIX Archive Options"), m_widget);
l->addWidget(box);
m_checkIncludeImages = new TQCheckBox(i18n("Include images in archive"), box);

@ -29,7 +29,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ONIXExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -26,7 +26,7 @@
#include "../core/netaccess.h"
#include "../tellico_debug.h"
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdemessagebox.h>
#include <config.h>
@ -56,7 +56,7 @@ Tellico::Data::CollPtr PDFImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(urls().count());
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
const bool showProgress = options() & ImportProgress;
@ -215,7 +215,7 @@ Tellico::Data::CollPtr PDFImporter::collection() {
if(showProgress) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -20,7 +20,7 @@ namespace Tellico {
namespace Import {
class PDFImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -200,14 +200,14 @@ bool PilotDBExporter::exec() {
}
TQWidget* PilotDBExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
if(m_widget && TQT_BASE_OBJECT(m_widget->parent()) == TQT_BASE_OBJECT(parent_)) {
if(m_widget && m_widget->parent() == parent_) {
return m_widget;
}
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("PilotDB Options"), m_widget);
TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("PilotDB Options"), m_widget);
l->addWidget(box);
m_checkBackup = new TQCheckBox(i18n("Set PDA backup flag for database"), box);

@ -27,7 +27,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class PilotDBExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

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

@ -24,7 +24,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ReferencerImporter : public XSLTImporter {
Q_OBJECT
TQ_OBJECT
public:

@ -150,7 +150,7 @@ Tellico::Data::CollPtr RISImporter::collection() {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(urls().count() * 100);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
int count = 0;
@ -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();
}
}

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class RISImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -97,7 +97,7 @@ Tellico::Data::CollPtr TellicoImporter::collection() {
void TellicoImporter::loadXMLData(const TQByteArray& data_, bool loadImages_) {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(100);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
TQDomDocument dom;
@ -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;
@ -744,11 +744,11 @@ void TellicoImporter::readBorrower(const TQDomElement& elem_) {
TQDate loanDate, dueDate;
TQString s = e.attribute(TQString::fromLatin1("loanDate"));
if(!s.isEmpty()) {
loanDate = TQDate::fromString(s, Qt::ISODate);
loanDate = TQDate::fromString(s, TQt::ISODate);
}
s = e.attribute(TQString::fromLatin1("dueDate"));
if(!s.isEmpty()) {
dueDate = TQDate::fromString(s, Qt::ISODate);
dueDate = TQDate::fromString(s, TQt::ISODate);
}
Data::LoanPtr loan = new Data::Loan(entry, loanDate, dueDate, e.text());
loan->setUID(uid);
@ -769,7 +769,7 @@ void TellicoImporter::loadZipData() {
m_zip = new KZip(fileRef().fileName());
} else {
m_buffer = new TQBuffer(data());
m_zip = new KZip(TQT_TQIODEVICE(m_buffer));
m_zip = new KZip(m_buffer);
}
if(!m_zip->open(IO_ReadOnly)) {
setStatusMessage(i18n(errorLoad).arg(url().fileName()));
@ -866,13 +866,13 @@ void TellicoImporter::loadZipData() {
m_images.remove(*it);
}
if(j%stepSize == 0) {
kapp->processEvents();
tdeApp->processEvents();
}
}
if(m_images.isEmpty()) {
// give it some time
TQTimer::singleShot(3000, this, TQT_SLOT(deleteLater()));
TQTimer::singleShot(3000, this, TQ_SLOT(deleteLater()));
}
}
@ -890,7 +890,7 @@ bool TellicoImporter::loadImage(const TQString& id_) {
m_images.remove(id_);
if(m_images.isEmpty()) {
// give it some time
TQTimer::singleShot(3000, this, TQT_SLOT(deleteLater()));
TQTimer::singleShot(3000, this, TQ_SLOT(deleteLater()));
}
return !newID.isEmpty();
}

@ -33,7 +33,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class TellicoImporter : public DataImporter {
Q_OBJECT
TQ_OBJECT
public:

@ -98,7 +98,7 @@ Tellico::Data::CollPtr TellicoSaxImporter::collection() {
void TellicoSaxImporter::loadXMLData(const TQByteArray& data_, bool loadImages_) {
ProgressItem& item = ProgressManager::self()->newProgressItem(this, progressLabel(), true);
item.setTotalSteps(data_.size());
connect(&item, SIGNAL(signalCancelled(ProgressItem*)), SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
const bool showProgress = options() & ImportProgress;
@ -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,13 +252,13 @@ void TellicoSaxImporter::loadZipData() {
m_images.remove(*it);
}
if(j%stepSize == 0) {
kapp->processEvents();
tdeApp->processEvents();
}
}
if(m_images.isEmpty()) {
// give it some time
TQTimer::singleShot(3000, this, SLOT(deleteLater()));
TQTimer::singleShot(3000, this, TQ_SLOT(deleteLater()));
}
}
@ -280,7 +280,7 @@ bool TellicoSaxImporter::loadImage(const TQString& id_) {
m_images.remove(id_);
if(m_images.isEmpty()) {
// give it some time
TQTimer::singleShot(3000, this, SLOT(deleteLater()));
TQTimer::singleShot(3000, this, TQ_SLOT(deleteLater()));
}
return !newID.isEmpty();
}

@ -29,7 +29,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class TellicoSaxImporter : public DataImporter {
Q_OBJECT
TQ_OBJECT
public:
enum Format { Unknown, Error, XML, Zip, Cancel };

@ -461,8 +461,8 @@ void TellicoXMLExporter::exportBorrowerXML(TQDomDocument& dom_, TQDomElement& pa
lElem.setAttribute(TQString::fromLatin1("uid"), it->uid());
lElem.setAttribute(TQString::fromLatin1("entryRef"), it->entry()->id());
lElem.setAttribute(TQString::fromLatin1("loanDate"), it->loanDate().toString(Qt::ISODate));
lElem.setAttribute(TQString::fromLatin1("dueDate"), it->dueDate().toString(Qt::ISODate));
lElem.setAttribute(TQString::fromLatin1("loanDate"), it->loanDate().toString(TQt::ISODate));
lElem.setAttribute(TQString::fromLatin1("dueDate"), it->dueDate().toString(TQt::ISODate));
if(it->inCalendar()) {
lElem.setAttribute(TQString::fromLatin1("calendar"), TQString::fromLatin1("true"));
}
@ -472,14 +472,14 @@ void TellicoXMLExporter::exportBorrowerXML(TQDomDocument& dom_, TQDomElement& pa
}
TQWidget* TellicoXMLExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
if(m_widget && TQT_BASE_OBJECT(m_widget->parent()) == TQT_BASE_OBJECT(parent_)) {
if(m_widget && m_widget->parent() == parent_) {
return m_widget;
}
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("Tellico XML Options"), m_widget);
TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("Tellico XML Options"), m_widget);
l->addWidget(box);
m_checkIncludeImages = new TQCheckBox(i18n("Include images in XML document"), box);

@ -32,7 +32,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class TellicoXMLExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -49,7 +49,7 @@ bool TellicoZipExporter::exec() {
// TODO: maybe need label?
ProgressItem& item = ProgressManager::self()->newProgressItem(this, TQString(), true);
item.setTotalSteps(100);
connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel()));
connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel()));
ProgressItem::Done done(this);
TellicoXMLExporter exp;
@ -71,7 +71,7 @@ bool TellicoZipExporter::exec() {
return true; // intentionally cancelled
}
KZip zip(TQT_TQIODEVICE(&buf));
KZip zip(&buf);
zip.open(IO_WriteOnly);
zip.writeFile(TQString::fromLatin1("tellico.xml"), TQString(), TQString(), xml.length(), xml);
@ -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();
}
}
}

@ -23,7 +23,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class TellicoZipExporter : public Exporter {
Q_OBJECT
TQ_OBJECT
public:

@ -25,7 +25,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class TextImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -27,7 +27,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class XMLImporter : public Importer {
Q_OBJECT
TQ_OBJECT
public:

@ -64,14 +64,14 @@ bool XSLTExporter::exec() {
}
TQWidget* XSLTExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
if(m_widget && TQT_BASE_OBJECT(m_widget->parent()) == TQT_BASE_OBJECT(parent_)) {
if(m_widget && m_widget->parent() == parent_) {
return m_widget;
}
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* group = new TQGroupBox(1, Qt::Horizontal, i18n("XSLT Options"), m_widget);
TQGroupBox* group = new TQGroupBox(1, TQt::Horizontal, i18n("XSLT Options"), m_widget);
l->addWidget(group);
TQHBox* box = new TQHBox(group);

@ -33,7 +33,7 @@ namespace {
static bool isUTF8(const KURL& url_) {
// read first line to check encoding
std::auto_ptr<Tellico::FileHandler::FileRef> ref(Tellico::FileHandler::fileRef(url_));
std::unique_ptr<Tellico::FileHandler::FileRef> ref(Tellico::FileHandler::fileRef(url_));
if(!ref->isValid()) {
return false;
}
@ -95,7 +95,7 @@ TQWidget* XSLTImporter::widget(TQWidget* parent_, const char* name_) {
m_widget = new TQWidget(parent_, name_);
TQVBoxLayout* l = new TQVBoxLayout(m_widget);
TQGroupBox* box = new TQGroupBox(1, Qt::Vertical, i18n("XSLT Options"), m_widget);
TQGroupBox* box = new TQGroupBox(1, TQt::Vertical, i18n("XSLT Options"), m_widget);
l->addWidget(box);
(void) new TQLabel(i18n("XSLT file:"), box);

@ -28,7 +28,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class XSLTImporter : public TextImporter {
Q_OBJECT
TQ_OBJECT
public:

@ -22,7 +22,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class UPCValidator : public TQValidator {
Q_OBJECT
TQ_OBJECT
public:

@ -26,7 +26,7 @@ namespace Tellico {
* @author Robby Stephenson
*/
class ViewStack : public TQWidgetStack {
Q_OBJECT
TQ_OBJECT
public:

@ -0,0 +1,37 @@
# SOME DESCRIPTIVE TITLE.
# Michele Calgaro <michele.calgaro@yahoo.it>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: 2025-03-04 08:44+0000\n"
"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tellico-desktop-files/it/>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Comment
#: tellico.xml:5 x-tellico.desktop:2
#, no-c-format
msgid "Tellico Data File"
msgstr "File di dati di Tellico"
#. Name
#: tellico.desktop:2
msgid "Tellico"
msgstr "Tellico"
#. GenericName
#: tellico.desktop:4
msgid "Collection Manager"
msgstr "Responsabile delle collezioni"
#. Comment
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Un responsabile di collezioni"

@ -0,0 +1,37 @@
# SOME DESCRIPTIVE TITLE.
# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: 2024-11-05 10:10+0000\n"
"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n"
"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tellico-desktop-files/ka/>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Comment
#: tellico.xml:5 x-tellico.desktop:2
#, no-c-format
msgid "Tellico Data File"
msgstr "Tellico-ის მონაცემების ფაილი"
#. Name
#: tellico.desktop:2
msgid "Tellico"
msgstr "Tellico"
#. GenericName
#: tellico.desktop:4
msgid "Collection Manager"
msgstr "კოლექციების მმართველი"
#. Comment
#: tellico.desktop:6
msgid "A collection manager"
msgstr "კოლექციების მმართველი"

@ -0,0 +1,37 @@
# SOME DESCRIPTIVE TITLE.
# Heimen Stoffels <vistausss@fastmail.com>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: 2025-03-31 17:44+0000\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
"applications/tellico-desktop-files/nl/>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Comment
#: tellico.xml:5 x-tellico.desktop:2
#, no-c-format
msgid "Tellico Data File"
msgstr "Tellico-gegevensbestand"
#. Name
#: tellico.desktop:2
msgid "Tellico"
msgstr "Tellico"
#. GenericName
#: tellico.desktop:4
msgid "Collection Manager"
msgstr "Collectiebeheer"
#. Comment
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Een collectiebeheerder"

@ -0,0 +1,38 @@
# SOME DESCRIPTIVE TITLE.
# Marek W <coronzon88@gmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: 2024-03-26 21:44+0000\n"
"Last-Translator: Marek W <coronzon88@gmail.com>\n"
"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tellico-desktop-files/pl/>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Comment
#: tellico.xml:5 x-tellico.desktop:2
#, no-c-format
msgid "Tellico Data File"
msgstr "Plik danych Tellico"
#. Name
#: tellico.desktop:2
msgid "Tellico"
msgstr "Tellico"
#. GenericName
#: tellico.desktop:4
msgid "Collection Manager"
msgstr "Menedżer kolekcji"
#. Comment
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Program do zarządzania kolekcjami"

@ -1,20 +1,22 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
# Andrei Stepanov <adem4ik@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-06 12:54+0200\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"
"PO-Revision-Date: 2023-12-06 19:14+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tellico-desktop-files/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Comment
#: tellico.xml:5 x-tellico.desktop:2
@ -25,7 +27,7 @@ msgstr "Файл Tellico"
#. Name
#: tellico.desktop:2
msgid "Tellico"
msgstr ""
msgstr "Tellico"
#. GenericName
#: tellico.desktop:4

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tellico\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2003-07-01 11:27+0300\n"
"Last-Translator: Boyan Ivanov <boyan17@bulgaria.com>\n"
"Language-Team: Bulgarian <bg@li.org>\n"
@ -101,7 +101,7 @@ msgstr "BCCollection"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Заглавие"
@ -1198,7 +1198,7 @@ msgid "Medium"
msgstr "Медия"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Изпълнител"
@ -1212,7 +1212,7 @@ msgstr "Заглавие"
msgid "Tracks"
msgstr ""
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr ""
@ -4556,52 +4556,52 @@ msgstr "Общи настройки"
msgid "&Library:"
msgstr ""
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
#, fuzzy
msgid "Scanning audio files..."
msgstr "Записва файл..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Настройки на полето"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr ""
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
#, fuzzy
msgid "Audio File Options"
msgstr "Настройки на полето"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr ""
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr ""
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
#, fuzzy
msgid "If checked, the file names for each track are added to the entries."
msgstr "Ако е избрано,заглавията на полетата ще бъдат отпечатани."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Ако е избрано,заглавията на полетата ще бъдат отпечатани."

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: ca\n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2005-06-21 17:16+0200\n"
"Last-Translator: David Majà <davidmaja@gmail.com>\n"
"Language-Team: Català\n"
@ -97,7 +97,7 @@ msgstr ""
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Títol"
@ -1143,7 +1143,7 @@ msgid "Medium"
msgstr "Suport"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artista"
@ -1156,7 +1156,7 @@ msgstr "Etiqueta"
msgid "Tracks"
msgstr "Pistes"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr ""
@ -2903,7 +2903,7 @@ msgstr "Hi ha un error en l'anàlisi sintàctic XML a la línia %1, columna %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "El missatge d'error de Qt es:"
msgstr "El missatge d'error de TQt es:"
#: filehandler.cpp:206
#, c-format
@ -4358,50 +4358,50 @@ msgstr ""
msgid "&Library:"
msgstr ""
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
#, fuzzy
msgid "Scanning audio files..."
msgstr "S'està desant el fitxer..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Clau Bibtex"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr ""
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr ""
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr ""
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr ""
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Si és activat, la cadena a cerca és utilitzada com a expresió regular."

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: cs\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2021-07-07 18:59+0000\n"
"Last-Translator: Slávek Banko <slavek.banko@axis.cz>\n"
"Language-Team: Czech <https://mirror.git.trinitydesktop.org/weblate/projects/"
@ -104,7 +104,7 @@ msgstr "Moje sbírka"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Název"
@ -1171,7 +1171,7 @@ msgid "Medium"
msgstr "Médium"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Umělec"
@ -1184,7 +1184,7 @@ msgstr "Nahrávací společnost"
msgid "Tracks"
msgstr "Stopy"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Délka"
@ -2921,7 +2921,7 @@ msgstr "Při načítání XML byla na řádce %1, sloupci %2 chyba."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Chybová zpráva z Qt je:"
msgstr "Chybová zpráva z TQt je:"
#: filehandler.cpp:206
#, c-format
@ -4311,50 +4311,50 @@ msgstr "Možnosti Alexandria"
msgid "&Library:"
msgstr "&Knihovna:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Procházím audio soubory..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Bibtex"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Různé)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Možnosti audio souboru"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Rekurzívní hledání v &adresářích"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Je-li zaškrtnuto, v adresářích budou rekurzívně vyhledávány audio soubory."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Začlenit umístění souboru"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "Je-li zaškrtnuto, budou názvy souborů každé stopy přidány do záznamů."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Je-li zaškrtnuto, budou názvy souborů každé stopy přidány do záznamů."

@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: de\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2020-04-03 03:28+0000\n"
"Last-Translator: Chris <xchrisx@uber.space>\n"
"Language-Team: German <https://mirror.git.trinitydesktop.org/weblate/"
@ -116,7 +116,7 @@ msgstr "Meine Sammlung"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Titel"
@ -1208,7 +1208,7 @@ msgid "Medium"
msgstr "Medium"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Künstler"
@ -1221,7 +1221,7 @@ msgstr "Herausgeber"
msgid "Tracks"
msgstr "Titel"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Länge"
@ -4427,51 +4427,51 @@ msgstr "Alexandria-Optionen"
msgid "&Library:"
msgstr "Bib&liothek:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Taste Audio-Dateien ab ..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bitrate"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Titel (CD %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Verschiedene)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Audio-Datei-Optionen"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Rekursive Verzeichnissuche"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Wenn markiert, werden Verzeichnisse rekursiv nach Audio-Dateien abgesucht."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "Ort der Datei einb&inden"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
"Wenn markiert, werden die Datei-Namen für jede Spur zu den Einträgen "
"hinzugefügt."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "&Bitrate inkludieren"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr ""
"Wenn markiert, wird die Bitrate für jede Spur zu den Einträgen hinzugefügt."

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ee\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2004-02-13 16:58+0200\n"
"Last-Translator: Toomas Nigola <toomas.nigola@eelk.ee>\n"
"Language-Team: Estonian <et@li.org>\n"
@ -107,7 +107,7 @@ msgstr "Muusikakogu"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Pealkiri"
@ -1208,7 +1208,7 @@ msgid "Medium"
msgstr "Meedia"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Esitaja"
@ -1221,7 +1221,7 @@ msgstr "Pealkiri"
msgid "Tracks"
msgstr "Rajad"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr ""
@ -3024,7 +3024,7 @@ msgstr "XML sõelumisel on viga real %1, veerus %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Qt veateade:"
msgstr "TQt veateade:"
#: filehandler.cpp:206
#, fuzzy, c-format
@ -4539,52 +4539,52 @@ msgstr "Üldised valikud"
msgid "&Library:"
msgstr ""
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
#, fuzzy
msgid "Scanning audio files..."
msgstr "Faili salvestamine..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Bibtex"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr ""
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
#, fuzzy
msgid "Audio File Options"
msgstr "Välja valikud"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr ""
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr ""
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
#, fuzzy
msgid "If checked, the file names for each track are added to the entries."
msgstr "Selle ruudu märkimisel väljade nimed prinditakse tabeli päistena."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Selle ruudu märkimisel väljade nimed prinditakse tabeli päistena."

@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2008-05-24 08:15-0700\n"
"Last-Translator: Abigail Brady <morwen@evilmagic.org>\n"
"Language-Team: \n"
@ -98,7 +98,7 @@ msgstr "My Collection"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Title"
@ -1163,7 +1163,7 @@ msgid "Medium"
msgstr "Medium"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artist"
@ -1176,7 +1176,7 @@ msgstr "Label"
msgid "Tracks"
msgstr "Tracks"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Length"
@ -2913,7 +2913,7 @@ msgstr "There is an XML parsing error in line %1, column %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "The error message from Qt is:"
msgstr "The error message from TQt is:"
#: filehandler.cpp:206
#, c-format
@ -4294,48 +4294,48 @@ msgstr "Alexandria Options"
msgid "&Library:"
msgstr "&Library:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Scanning audio files..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bitrate"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Tracks (Disc %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Various)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Audio File Options"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Recursive &folder search"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr "If checked, folders are recursively searched for audio files."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "Include file &location"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "If checked, the file names for each track are added to the entries."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Include &bitrate"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "If checked, the bitrate for each track is added to the entries."

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2008-02-17 06:21-0200\n"
"Last-Translator: Ale Hamann <amadeus@bbs.frc.utn.edu.ar>\n"
"Language-Team: Español <es@li.org>\n"
@ -104,7 +104,7 @@ msgstr "Mi colección"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Título"
@ -1185,7 +1185,7 @@ msgid "Medium"
msgstr "Medio"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artista"
@ -1198,7 +1198,7 @@ msgstr "Discográfica"
msgid "Tracks"
msgstr "Pistas"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Duración"
@ -2961,7 +2961,7 @@ msgstr "Hay un error de análisis sintáctico de XML en la línea %1, columna %2
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "El mensaje de error de Qt es:"
msgstr "El mensaje de error de TQt es:"
#: filehandler.cpp:206
#, c-format
@ -4350,51 +4350,51 @@ msgstr "Opciones de Alexandria"
msgid "&Library:"
msgstr "Bib&lioteca:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Buscando archivos de audio..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Tasa de bits"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Pistas (Disco %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Varios)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Opciones para archivos de audio"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Búsqueda recursiva en carpetas (&f)"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Si se marca, las carpetas serán exploradas recursivamente durante la "
"búsqueda de archivos de audio."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "Inc&luir ubicación de archivo"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
"Si se marca, se añadirán a las entradas el nombre de archivo de cada pista."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Incluir tasa de &bits"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr ""
"Si se marca, la tasa de bits para cada pista será agregada a la entradas"

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fi\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2008-03-04 15:25+0200\n"
"Last-Translator: Teuvo Eloranta <not@valid.com>\n"
"Language-Team: Finnish <fi@li.org>\n"
@ -104,7 +104,7 @@ msgstr "Oma Kokoelma"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Nimeke"
@ -1166,7 +1166,7 @@ msgid "Medium"
msgstr "Media"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Taiteilija"
@ -1179,7 +1179,7 @@ msgstr "Levymerkki"
msgid "Tracks"
msgstr "Ääniraidat"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Pituus"
@ -2917,7 +2917,7 @@ msgstr "Virhe XML:n tulkkauksessa. Virhe rivillä %1, sarakkeessa %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Qt:n virheilmoitus:"
msgstr "TQt:n virheilmoitus:"
#: filehandler.cpp:206
#, c-format
@ -4295,49 +4295,49 @@ msgstr "Alexandria-asetukset"
msgid "&Library:"
msgstr "&Kirjasto:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Selataan äänitiedostoja..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bittinopeus"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Raidat (Disc %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Sekalaisia)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Äänitiedoston asetukset"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Rekursiivinen hakemistoetsintä"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Jos valittu, äänitiedostoja etsitään hakemistorakenteesta rekursiivisesti."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Sisällytä tiedoston sijainti"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "Jos valittu, jokaisen kappaleen tiedostonimi lisätään tietueisiin."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Sisällytä &bittinopeus"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Jos valittu, jokaisen raidan bittinopeus lisätään tietueisiin."

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2008-01-30 23:57+0000\n"
"Last-Translator: Regis Boudin <regis@boudin.name>\n"
"Language-Team: \n"
@ -107,7 +107,7 @@ msgstr "Ma collection"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Titre"
@ -1182,7 +1182,7 @@ msgid "Medium"
msgstr "Médium"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artiste"
@ -1195,7 +1195,7 @@ msgstr "Label"
msgid "Tracks"
msgstr "Pistes"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Duree"
@ -2949,7 +2949,7 @@ msgstr "Une erreur d'analyse XML est survenue ligne %1, colonne %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Le message d'erreur de Qt est:"
msgstr "Le message d'erreur de TQt est:"
#: filehandler.cpp:206
#, c-format
@ -4340,50 +4340,50 @@ msgstr "Options Alexandria"
msgid "&Library:"
msgstr "Bib&liothèque :"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Analyse des fichiers audio..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bitrate"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Pistes (Disque %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Varié)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Options de fichier audio"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Recherche récursive"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Si cochée, les répertoires sont sont balayés récursivement pour chercher les "
"fichiers audio."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Inclure l'emplacement du fichier"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "Si cochée, le nom de fichier de chaque plage sera ajouté aux entrées."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Inclure le &bitrate"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Si cochée, le bitrate de chaque plage sera ajouté aux entrées."

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: hu\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2006-06-10 13:51+0200\n"
"Last-Translator: Zakariás, Csaba <csaba.zakarias@gmail.com>\n"
"Language-Team: <hu@li.org>\n"
@ -103,7 +103,7 @@ msgstr "Gyűjteményem"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Cím"
@ -1164,7 +1164,7 @@ msgid "Medium"
msgstr "Hordozó"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Előadó"
@ -1177,7 +1177,7 @@ msgstr "Cím"
msgid "Tracks"
msgstr "Sávok"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Hossz"
@ -2910,7 +2910,7 @@ msgstr "A %1 sor, %2 oszlopában XML hiba van."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "A Qt hibaüzenet a következő:"
msgstr "A TQt hibaüzenet a következő:"
#: filehandler.cpp:206
#, c-format
@ -4289,48 +4289,48 @@ msgstr "Alexandria beállítások"
msgid "&Library:"
msgstr "&Könyvtár:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Hang fájlok átvizsgálása"
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bitráta"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Sávok (lemez %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Különböző)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Hang fájlok beállításai"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Rekurzív könyvtár keresés"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr "Ha kijelöli, a hang fáljokat rekurzívan keresi a könyvtárakban."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Fájl helyének belefoglalása"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "Ha kijelöli, az egyes sávok fájl nevei hozzáadódnak a bejegyzésekhez."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "&Bitráta tartalmazása"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Ha kijelöli, az egyes sávok bitrátái hozzáadódnak a bejegyzésekhez."

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: v0.9_edited_it\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2020-05-31 21:46+0000\n"
"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
@ -108,7 +108,7 @@ msgstr "La mia Collezione"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Titolo"
@ -1184,7 +1184,7 @@ msgid "Medium"
msgstr "Media"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artista"
@ -1197,7 +1197,7 @@ msgstr "Etichetta"
msgid "Tracks"
msgstr "Tracce"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Durata"
@ -4326,52 +4326,52 @@ msgstr "Opzioni di Alexandria"
msgid "&Library:"
msgstr "&Libreria:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Scansione dei file audio..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bitrate"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Tracce (Disco %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Varie)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Opzioni file audio"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Ricerca &ricorsiva"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Se selezionato, i file verranno ricercati ricorsivamente all'interno delle "
"cartelle."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "Includi &percorso file"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
"Se selezionato, i nomi di campo saranno stampati come intestazioni della "
"tabella."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Includi &bitrate"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Se selezionato,il bitrate dei brani verrà aggiunto agli elementi."

File diff suppressed because it is too large Load Diff

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nb\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2004-12-03 17:17+0100\n"
"Last-Translator: Leif Mathis Gaup <lmgaup@nsn.no>\n"
"Language-Team: Norsk bokmål\n"
@ -100,7 +100,7 @@ msgstr "Min samling"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Tittel"
@ -1200,7 +1200,7 @@ msgid "Medium"
msgstr "Media"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artist"
@ -1213,7 +1213,7 @@ msgstr "Plateselskap"
msgid "Tracks"
msgstr "Spor"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr ""
@ -3039,7 +3039,7 @@ msgstr "Det er en XML sammenflettingsfeil på linje %1, kolonne %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Feilmeldingen fra QT er:"
msgstr "Feilmeldingen fra TQt er:"
#: filehandler.cpp:206
#, c-format
@ -4521,52 +4521,52 @@ msgstr "Valg for Alexandria"
msgid "&Library:"
msgstr "Bibliotek:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Sjekker lydfiler..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Bibtex"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr ""
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Valg for lydfiler"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Rekursivt søk i kataloger "
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Om slått på vil det søkes i katalog (og alle underliggende kataloger) for "
"lydfiler "
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr ""
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
#, fuzzy
msgid "If checked, the file names for each track are added to the entries."
msgstr "Feltnavn blir skrevet ut som tabelloverskrift."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Feltnavn blir skrevet ut som tabelloverskrift."

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nl\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2005-08-11 11:02+0200\n"
"Last-Translator: Fred Marchee <fredmarchee@gmail.com>\n"
"Language-Team: Nederlands <kde-i18n-nl@kde.org>\n"
@ -102,7 +102,7 @@ msgstr "Mijn verzameling"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Titel"
@ -1190,7 +1190,7 @@ msgid "Medium"
msgstr "Drager"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artiest"
@ -1203,7 +1203,7 @@ msgstr "Label"
msgid "Tracks"
msgstr "Nummers"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr ""
@ -3013,7 +3013,7 @@ msgstr "Er is een XML parsing fout op lijn %1, kolom %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "De fout melding van QT is:"
msgstr "De fout melding van TQt is:"
#: filehandler.cpp:206
#, c-format
@ -4443,51 +4443,51 @@ msgstr "Alexandria opties"
msgid "&Library:"
msgstr "Bibliotheek:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Audiobestanden doorzoeken..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "BibTeX"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Diversen)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Audiobestand opties"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Folders recursief doorzoeken"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Indien aangevinkt worden folders recursief doorzocht naar audiobestanden."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr ""
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
#, fuzzy
msgid "If checked, the file names for each track are added to the entries."
msgstr "Indien aangevinkt worden de veldnamen afgedrukt als tabel-kop."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Indien aangevinkt worden de veldnamen afgedrukt als tabel-kop."

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: nn\n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2008-03-23 18:52+0100\n"
"Last-Translator: Karl Ove Hufthammer <karl@huftis.org>\n"
"Language-Team: Norwegian Nynorsk <i18n-nn@lister.ping.uio.no>\n"
@ -100,7 +100,7 @@ msgstr "Samlinga mi"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Tittel"
@ -1159,7 +1159,7 @@ msgid "Medium"
msgstr "Medium"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artist"
@ -1172,7 +1172,7 @@ msgstr "Plateselskap"
msgid "Tracks"
msgstr "Spor"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Lengd"
@ -2902,7 +2902,7 @@ msgstr "Det oppstod ein XML-tolkefeil i linje %1, kolonne %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Feilmeldinga frå Qt er:"
msgstr "Feilmeldinga frå TQt er:"
#: filehandler.cpp:206
#, c-format
@ -4279,48 +4279,48 @@ msgstr "Alexandria-val"
msgid "&Library:"
msgstr "&Bibliotek:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Søkjer gjennom lydfiler …"
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bitrate"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Spor (disk %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Ymse)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Lydfilval"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Søk òg i undermapper"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr "Søk i mapper og i undermapper etter lydfiler."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Ta med filplassering"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "Legg filnamna til kvart spor til oppføringane."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Ta med &bitrate"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Legg bitraten til kvart spor til oppføringane."

@ -5,18 +5,23 @@
# Marek Janukowicz <marek@janukowicz.net>, 2005.
# Marek Janukowicz <marek@power.com.pl>, 2005.
# Leszek Cimala <ernierasta@gmail.com>, 2007.
# Marek W <coronzon88@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: pl\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"PO-Revision-Date: 2007-10-11 08:41+0200\n"
"Last-Translator: Leszek Cimala <ernierasta@gmail.com>\n"
"Language-Team: <pl@li.org>\n"
"Language: \n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2023-10-05 21:40+0000\n"
"Last-Translator: Marek W <coronzon88@gmail.com>\n"
"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tellico/pl/>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#, fuzzy
@ -69,9 +74,8 @@ msgid "Connecting to OpenOffice.org..."
msgstr "Łączenie z OpenOffice.org..."
#: cite/openoffice.cpp:165 cite/openoffice.cpp:186
#, fuzzy
msgid "OpenOffice.org Connection"
msgstr "OpenOffice.org Łączenie"
msgstr "Połączenie z OpenOffice.org"
#: cite/openoffice.cpp:179
msgid ""
@ -105,7 +109,7 @@ msgstr "Moja kolekcja"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Tytuł"
@ -166,7 +170,7 @@ msgstr "Kolekcja gier"
#: collectionfactory.cpp:134
msgid "File Catalog"
msgstr ""
msgstr "Katalog plików"
#: collectionfactory.cpp:135
#, fuzzy
@ -1177,7 +1181,7 @@ msgid "Medium"
msgstr "Nośnik"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Wykonawca"
@ -1190,7 +1194,7 @@ msgstr "Etykieta"
msgid "Tracks"
msgstr "Ścieżki"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Długość"
@ -2988,7 +2992,7 @@ msgstr "Błąd parsowania XML, linia %1, kolumna %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Komunikat błędu z Qt:"
msgstr "Komunikat błędu z TQt:"
#: filehandler.cpp:206
#, c-format
@ -4419,52 +4423,52 @@ msgstr "Opcje Alexandrii"
msgid "&Library:"
msgstr "Biblioteka:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Skanowanie plików audio..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Bibtex"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Różne)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Opcji plików audio"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Szukaj rekursywnie w folderach"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Jeśli zaznaczone, foldery będą przeszukiwane rekursywnie w poszukiwaniu "
"plików audio."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr ""
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
#, fuzzy
msgid "If checked, the file names for each track are added to the entries."
msgstr "Jeśli zaznaczone, nazwy pól zostaną wydrukowane jako nagłówki tabeli."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Jeśli zaznaczone, nazwy pól zostaną wydrukowane jako nagłówki tabeli."

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pt\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2008-03-15 08:27+0000\n"
"Last-Translator: Ligia Moreira <ligia.moreira@netvisao.pt>\n"
"Language-Team: portuguese <pt@li.org>\n"
@ -107,7 +107,7 @@ msgstr "A minha Colecção"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Título"
@ -1178,7 +1178,7 @@ msgid "Medium"
msgstr "Disco"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artista"
@ -1191,7 +1191,7 @@ msgstr "Etiqueta"
msgid "Tracks"
msgstr "Pistas"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Duração"
@ -2942,7 +2942,7 @@ msgstr "Um erro de análise XML apareceu na linha %1, coluna %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "A mensagem de erro de Qt é:"
msgstr "A mensagem de erro de TQt é:"
#: filehandler.cpp:206
#, c-format
@ -4334,52 +4334,52 @@ msgstr "Opções do Alexandria"
msgid "&Library:"
msgstr "&Biblioteca:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "A analisar os ficheiros áudio..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bitrate"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Pistas (Disc %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Vários)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Opções de Ficheiro áudio"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Pesquisa recursiva de &pastas"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Se seleccionado, as pastas são varridas recursivamente para procurar os "
"ficheiros áudio."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Incluir localização do ficheiro"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
"Se seleccionado, os nomes dos ficheiros de cada faixa serão adicionados às "
"entradas."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Include &bitrate"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr ""
"Se seleccionado, o bitrate para cada pista será adicionado às entradas."

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: pt_BR\n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2008-11-01 09:36-0200\n"
"Last-Translator: Doutor Zero <doutor.zero@gmail.com>\n"
"Language-Team: Brazilian Portuguese <kde-i18n-pt_BR@mail.kde.org>\n"
@ -104,7 +104,7 @@ msgstr "Minha Coleção"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Título"
@ -1179,7 +1179,7 @@ msgid "Medium"
msgstr "Mídia"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artista"
@ -1192,7 +1192,7 @@ msgstr "Selo"
msgid "Tracks"
msgstr "Pistas"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Duração"
@ -2949,7 +2949,7 @@ msgstr "Há um erro de análise XML na linha %1, coluna %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "A mensagem de erro do Qt é:"
msgstr "A mensagem de erro do TQt é:"
#: filehandler.cpp:206
#, c-format
@ -4351,53 +4351,53 @@ msgstr "Opções do Alexandria"
msgid "&Library:"
msgstr "&Biblioteca:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Procurando arquivos de áudio..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Vários)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Opções de Arquivo de Áudio"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Pesquisa recursiva de &pastas"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Se selecionado, as pastas são varridas recursivamente para procurar arquivos "
"de áudio."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
#, fuzzy
msgid "Include file &location"
msgstr "&Incluir localização do arquivo"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
"Se selecionado, os nomes dos arquivos de cada faixa serão adicionados aos "
"registros."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr ""

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tellico 1.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2002-12-03 17:29-0800\n"
"Last-Translator: Iulian Ursache <iulianu@cs.tuiasi.ro>\n"
"Language-Team: Română <ro@li.org>\n"
@ -101,7 +101,7 @@ msgstr "Opţiuni colecţii cărţi"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Titlu"
@ -1203,7 +1203,7 @@ msgid "Medium"
msgstr "Suport"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artist"
@ -1217,7 +1217,7 @@ msgstr "Titlu"
msgid "Tracks"
msgstr ""
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr ""
@ -4603,54 +4603,54 @@ msgstr "Opţiuni generale"
msgid "&Library:"
msgstr ""
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
#, fuzzy
msgid "Scanning audio files..."
msgstr "Salvez fişierul..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Opţiuni generale"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr ""
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
#, fuzzy
msgid "Audio File Options"
msgstr "Opţiuni generale"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr ""
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr ""
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
#, fuzzy
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
"Dacă bifaţi, ultimul fişier deschis va fi deschis din nou la pornirea "
"programului."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr ""

@ -5,12 +5,13 @@
# Pesotsky Denis <St.MPA3b@gmail.com>, 2008.
# Denis Pesotsky <St.MPA3b@gmail.com>, 2008.
# Denis Pesotsky <denis@kde.ru>, 2008.
# Andrei Stepanov <adem4ik@gmail.com>, 2023, 2024.
msgid ""
msgstr ""
"Project-Id-Version: ru\n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"PO-Revision-Date: 2020-01-03 18:07+0000\n"
"Last-Translator: Serg Bormant <bormant@mail.ru>\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2024-05-06 04:00+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tellico/ru/>\n"
"Language: ru\n"
@ -19,7 +20,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 3.10\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
@ -106,7 +107,7 @@ msgstr "Моя коллекция"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Название"
@ -414,11 +415,12 @@ msgid "Enable auto-completion"
msgstr "Автоматическое дополнение"
#: collectionfieldsdialog.cpp:243
#, fuzzy
msgid ""
"If checked, TDE auto-completion will be enabled in the text edit box for "
"this field."
msgstr "Автоматически дополнять до слова (как в OpenOffice.org)"
msgstr ""
"Если включено, в поле редактирования текста для этого поля будет включено "
"автозаполнение TDE."
#: collectionfieldsdialog.cpp:245
msgid "Allow multiple values"
@ -657,7 +659,7 @@ msgstr "Ключевые слова"
#: fetch/entrezfetcher.cpp:401 fetch/entrezfetcher.cpp:494 field.cpp:494
#: translators/gcfilmsimporter.cpp:76
msgid "URL"
msgstr "URL"
msgstr "Ссылка"
#: collections/bibtexcollection.cpp:233 fetch/entrezfetcher.cpp:493
#: fetch/srufetcher.cpp:424 fetch/z3950fetcher.cpp:693
@ -985,7 +987,7 @@ msgstr "Мои файлы"
#: collections/filecatalog.cpp:55
msgid "Folder"
msgstr "Папка"
msgstr "Каталог"
#: collections/filecatalog.cpp:60
msgid "Mimetype"
@ -1160,7 +1162,7 @@ msgid "Medium"
msgstr "Носитель"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Исполнитель"
@ -1173,7 +1175,7 @@ msgstr "Лейбл"
msgid "Tracks"
msgstr "Дорожки"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Длина"
@ -2270,13 +2272,12 @@ msgid ""
msgstr "Associate's ID нужен для доступа ко многим сервисам Amazon.com"
#: fetch/amazonfetcher.cpp:907
#, fuzzy
msgid "Access key: "
msgstr "&Ключ API: "
msgstr "Ключ доступа: "
#: fetch/amazonfetcher.cpp:913
msgid "Secret Key: "
msgstr ""
msgstr "Секретный ключ: "
#: fetch/animenfofetcher.cpp:257
msgid "Original Title"
@ -2905,9 +2906,8 @@ msgstr "Произошла ошибка считывания XML в строке
#: filehandler.cpp:156 translators/tellicoimporter.cpp:110
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Ошибка QT:"
msgstr "Сообщение об ошибке от TQt:"
#: filehandler.cpp:206
#, c-format
@ -2957,7 +2957,7 @@ msgstr "не соответствует выражению"
#: filterdialog.cpp:90
msgid "Edit..."
msgstr "Редактировать…"
msgstr "Изменить…"
#: filterdialog.cpp:282
msgid "Advanced Filter"
@ -3269,9 +3269,8 @@ msgid "Borrower (Sort by Count)"
msgstr "Должник (сортировка по кол-ву)"
#: main.cpp:23
#, fuzzy
msgid "Tellico - a collection manager for TDE"
msgstr "Tellico - менеджер коллекций для KDE."
msgstr "Tellico — менеджер коллекций для TDE"
#: main.cpp:27
msgid "Do not reopen the last open file"
@ -3299,7 +3298,7 @@ msgstr "Скрипты источников данных"
#: main.cpp:44
msgid "Icons"
msgstr "Пиктограммы"
msgstr "Значки"
#: main.cpp:46
msgid "Author of btparse library"
@ -4283,48 +4282,48 @@ msgstr "Опции Alexandria"
msgid "&Library:"
msgstr "&Библиотека:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Сканируются аудио-файлы…"
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Битовый поток"
msgstr "Битрейт"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Дорожки (Диск %1)"
msgstr "Дорожки (диск %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(различ.)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Опции аудио-файла"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Рекурсивный поиск по &папкам"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr "Если отмечено, то поиск будет производиться также и вглубь папок."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Включать местоположение файлов"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "Если отмечено, имена файлов каждой дорожки будут добавлены в записи."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Включать &битовый поток"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr ""
"Если отмечено, битовый поток (битрейт) каждой дорожки будет добавлен в "

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sv\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2008-01-30 08:26+0100\n"
"Last-Translator: Peter Landgren <peter.talken@telia.com>\n"
"Language-Team: Svenska <sv@li.org>\n"
@ -109,7 +109,7 @@ msgstr "Min samling"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Titel"
@ -1175,7 +1175,7 @@ msgid "Medium"
msgstr "Media"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Artist"
@ -1188,7 +1188,7 @@ msgstr "Skivmärke"
msgid "Tracks"
msgstr "Spår"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Speltid"
@ -2926,7 +2926,7 @@ msgstr "Fel i XML, rad %1, kolumn %2."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Felmeddelandet från Qt är:"
msgstr "Felmeddelandet från TQt är:"
#: filehandler.cpp:206
#, c-format
@ -4304,48 +4304,48 @@ msgstr "Alexandriaalternativ"
msgid "&Library:"
msgstr "&Bibliotek:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Avsöker ljudfiler..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr "Bithastighet"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr "Spår (Skiva %1)"
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Blandat)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Ljudfilsalternativ"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Rekursiv &mappsökning"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr "Om ikryssad, kommer mappar att sökas rekursivt för ljudfiler."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Inkludera fillagringsplats "
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "Om ikryssad, läggs filnamnen, för varje spår, till posten."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr "Inkludera &bithastighet"
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Om ikryssad, läggs bithastigheten, för varje spår, till posten."

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-07 18:32+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"
@ -95,7 +95,7 @@ msgstr ""
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr ""
@ -1110,7 +1110,7 @@ msgid "Medium"
msgstr ""
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr ""
@ -1123,7 +1123,7 @@ msgstr ""
msgid "Tracks"
msgstr ""
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr ""
@ -4110,48 +4110,48 @@ msgstr ""
msgid "&Library:"
msgstr ""
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr ""
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
msgid "Bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr ""
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr ""
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr ""
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr ""
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
msgid "If checked, the bitrate for each track is added to the entries."
msgstr ""

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: tellico\n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2007-07-03 02:14+0300\n"
"Last-Translator: Kunter Kutlu <kunterkutlu@gmail.com>\n"
"Language-Team: Türkçe <tr@li.org>\n"
@ -100,7 +100,7 @@ msgstr "Koleksiyonum"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Başlık"
@ -1172,7 +1172,7 @@ msgid "Medium"
msgstr "Ortam"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Sanatçı"
@ -1185,7 +1185,7 @@ msgstr "Etiket"
msgid "Tracks"
msgstr "Parçalar"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Süre"
@ -2938,7 +2938,7 @@ msgstr "%2 sütununda ve %1 sırasında bir XML kodlama hatası mevcut."
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Qt den gelen hata mesajı:"
msgstr "TQt den gelen hata mesajı:"
#: filehandler.cpp:206
#, c-format
@ -4335,51 +4335,51 @@ msgstr "Alexandria Seçenekleri"
msgid "&Library:"
msgstr "&Kütüphane:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Ses dosyaları taranıyor..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Bibtex"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(Çeşitli)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Ses Dosyası Seçenekleri"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Yinelemeli &dizin araması"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr ""
"Eğer işaretlendiyse, dizinler, ses dosyaları için yinelemeli olarak arandı."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "Dosya konumunu ekley&in"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr ""
"Eğer işaretlendiyse, Herbir parçanın dosya ismi, girdi alanlarına eklenir."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr ""

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: ru\n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: 2007-11-09 01:56+0200\n"
"Last-Translator: Serhij Dubyk <dubyk@library.lviv.ua>\n"
"Language-Team: Ukrainian <uk@li.org>\n"
@ -99,7 +99,7 @@ msgstr "Моє зібрання"
#: collections/musiccollection.cpp:76 collections/stampcollection.cpp:38
#: collections/videocollection.cpp:39 collections/winecollection.cpp:37
#: entryupdater.cpp:229 fetch/fetchmanager.cpp:73 fetchdialog.cpp:169
#: translators/audiofileimporter.cpp:164 translators/tellicoimporter.cpp:434
#: translators/audiofileimporter.cpp:167 translators/tellicoimporter.cpp:434
#: translators/xmlstatehandler.cpp:343
msgid "Title"
msgstr "Заголовок"
@ -1162,7 +1162,7 @@ msgid "Medium"
msgstr "Носій"
#: collections/musiccollection.cpp:50 collections/musiccollection.cpp:77
#: translators/audiofileimporter.cpp:165 translators/tellicoimporter.cpp:435
#: translators/audiofileimporter.cpp:168 translators/tellicoimporter.cpp:435
#: translators/xmlstatehandler.cpp:344
msgid "Artist"
msgstr "Виконавець"
@ -1175,7 +1175,7 @@ msgstr "Лейбл"
msgid "Tracks"
msgstr "Треки"
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:166
#: collections/musiccollection.cpp:78 translators/audiofileimporter.cpp:169
#: translators/tellicoimporter.cpp:436 translators/xmlstatehandler.cpp:345
msgid "Length"
msgstr "Довжина"
@ -2906,7 +2906,7 @@ msgstr "Відбулася помилка XML у рядку %1 та стовпц
#: translators/xmlimporter.cpp:45 translators/xmlimporter.cpp:62
#, fuzzy
msgid "The error message from TQt is:"
msgstr "Помилка від QT:"
msgstr "Помилка від TQt:"
#: filehandler.cpp:206
#, c-format
@ -4295,49 +4295,49 @@ msgstr "Опції Alexandria"
msgid "&Library:"
msgstr "&Бібліотека:"
#: translators/audiofileimporter.cpp:68
#: translators/audiofileimporter.cpp:71
msgid "Scanning audio files..."
msgstr "Читаються аудіо-файли..."
#: translators/audiofileimporter.cpp:128
#: translators/audiofileimporter.cpp:131
#, fuzzy
msgid "Bitrate"
msgstr "Bibtex"
#: translators/audiofileimporter.cpp:160 translators/audiofileimporter.cpp:170
#: translators/audiofileimporter.cpp:163 translators/audiofileimporter.cpp:173
msgid "Tracks (Disc %1)"
msgstr ""
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:189
#: ../xslt/entry-templates/Album.xsl:242 translators/audiofileimporter.cpp:192
#, no-c-format
msgid "(Various)"
msgstr "(змінний)"
#: translators/audiofileimporter.cpp:340
#: translators/audiofileimporter.cpp:343
msgid "Audio File Options"
msgstr "Опції аудіо-файлів"
#: translators/audiofileimporter.cpp:342
#: translators/audiofileimporter.cpp:345
msgid "Recursive &folder search"
msgstr "Рекурсивний пошук по теках"
#: translators/audiofileimporter.cpp:343
#: translators/audiofileimporter.cpp:346
msgid "If checked, folders are recursively searched for audio files."
msgstr "Якщо відмічено, то пошук аудіо-файлів проводитиметься по усіх теках."
#: translators/audiofileimporter.cpp:347
#: translators/audiofileimporter.cpp:350
msgid "Include file &location"
msgstr "&Включати місцеположення файлу"
#: translators/audiofileimporter.cpp:348
#: translators/audiofileimporter.cpp:351
msgid "If checked, the file names for each track are added to the entries."
msgstr "Якщо відмічено, то в записі буде додані назви файлів."
#: translators/audiofileimporter.cpp:352
#: translators/audiofileimporter.cpp:355
msgid "Include &bitrate"
msgstr ""
#: translators/audiofileimporter.cpp:353
#: translators/audiofileimporter.cpp:356
#, fuzzy
msgid "If checked, the bitrate for each track is added to the entries."
msgstr "Якщо відмічено, то в записі буде додані назви файлів."

Loading…
Cancel
Save