summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Małek <michalm@jabster.pl>2014-08-05 21:28:30 (GMT)
committerMichał Małek <michalm@jabster.pl>2014-08-05 21:28:30 (GMT)
commitec37677e234994a92d31b9de745881bddd34bbe3 (patch)
tree878a1eb13e86e47da4847a4c3440c36eee94beb5
parent380e90cbd39ecea86a4e384d4ebff4688c88049d (diff)
Ported straightforward cases to KF5
-rw-r--r--CMakeLists.txt8
-rw-r--r--kcmcddb/cddbconfigwidget.cpp13
-rw-r--r--kcmcddb/cddbconfigwidget.ui30
-rw-r--r--kcmcddb/kcmcddb.cpp8
-rw-r--r--libkcddb/cdinfodialog.cpp26
-rw-r--r--libkcddb/cdinfodialog.h4
-rw-r--r--libkcddb/cdinfodialog.ui22
-rw-r--r--libkcddb/cdinfoencodingwidget.cpp11
-rw-r--r--libkcddb/cdinfoencodingwidget.ui52
-rw-r--r--libkcddb/client.cpp2
-rw-r--r--libkcddb/kcddbconfig.cpp2
-rw-r--r--test/asynchttpsubmittest.cpp16
-rw-r--r--test/asynchttpsubmittest.h5
-rw-r--r--test/asyncsmtpsubmittest.cpp16
-rw-r--r--test/asyncsmtpsubmittest.h5
-rw-r--r--test/sitestest.cpp10
-rw-r--r--test/synchttpsubmittest.cpp8
-rw-r--r--test/syncsmtpsubmittest.cpp8
18 files changed, 115 insertions, 131 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b11505d..865d943 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,10 +18,10 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
find_package(MusicBrainz5)
set_package_properties(MusicBrainz5 PROPERTIES
- DESCRIPTION "Music metadata lookup for KDE multimedia applications through libkcddb. You need version 5.x of libmusicbrainz"
- URL "http://www.musicbrainz.org"
- TYPE OPTIONAL
- PURPOSE "A library that provides access to metadata lookup on the MusicBrainz server")
+ DESCRIPTION "Music metadata lookup for KDE multimedia applications through libkcddb. You need version 5.x of libmusicbrainz"
+ URL "http://www.musicbrainz.org"
+ TYPE OPTIONAL
+ PURPOSE "A library that provides access to metadata lookup on the MusicBrainz server")
if(MUSICBRAINZ5_FOUND)
set(HAVE_MUSICBRAINZ5 1)
diff --git a/kcmcddb/cddbconfigwidget.cpp b/kcmcddb/cddbconfigwidget.cpp
index 9a0fb50..65c283d 100644
--- a/kcmcddb/cddbconfigwidget.cpp
+++ b/kcmcddb/cddbconfigwidget.cpp
@@ -28,14 +28,13 @@
#include "libkcddb/lookup.h"
#include <qlist.h>
-#include <kfiledialog.h>
#include <kapplication.h>
#include <klocale.h>
-#include <kinputdialog.h>
#include <kmessagebox.h>
#include <keditlistwidget.h>
#include <kurlrequester.h>
-#include <QCheckBox>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QInputDialog>
CDDBConfigWidget::CDDBConfigWidget(QWidget * parent)
: QWidget(parent)
@@ -91,13 +90,13 @@ void CDDBConfigWidget::showMirrorList()
return;
}
- QStringList result = KInputDialog::getItemList(i18n("Select mirror"),
+ QString result = QInputDialog::getItem(this, i18n("Select mirror"),
i18n("Select one of these mirrors"), keys.keys(),
- QStringList(), false, &ok, this);
+ 0, false, &ok);
- if (ok && result.count() == 1)
+ if (ok)
{
- KCDDB::Mirror m = keys[*(result.begin())];
+ KCDDB::Mirror m = keys[result];
kcfg_FreedbLookupTransport->setCurrentIndex(m.transport == KCDDB::Lookup::CDDBP ? 0 : 1);
kcfg_hostname->setText(m.address);
diff --git a/kcmcddb/cddbconfigwidget.ui b/kcmcddb/cddbconfigwidget.ui
index 16fc911..756e1f7 100644
--- a/kcmcddb/cddbconfigwidget.ui
+++ b/kcmcddb/cddbconfigwidget.ui
@@ -82,7 +82,7 @@
</widget>
</item>
<item>
- <widget class="KIntSpinBox" name="kcfg_port">
+ <widget class="QSpinBox" name="kcfg_port">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -132,7 +132,7 @@
</widget>
</item>
<item>
- <widget class="KPushButton" name="mirrorListButton">
+ <widget class="QPushButton" name="mirrorListButton">
<property name="text">
<string>Show &amp;Mirror List</string>
</property>
@@ -193,7 +193,7 @@
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="KLineEdit" name="kcfg_httpSubmitServer">
+ <widget class="QLineEdit" name="kcfg_httpSubmitServer">
</widget>
</item>
<item>
@@ -210,7 +210,7 @@
</widget>
</item>
<item>
- <widget class="KIntSpinBox" name="kcfg_httpSubmitPort"/>
+ <widget class="QSpinBox" name="kcfg_httpSubmitPort"/>
</item>
</layout>
</item>
@@ -243,7 +243,7 @@
</widget>
</item>
<item>
- <widget class="KIntSpinBox" name="kcfg_smtpPort">
+ <widget class="QSpinBox" name="kcfg_smtpPort">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -316,26 +316,6 @@
</item>
</layout>
</widget>
- <customwidgets>
- <customwidget>
- <class>KIntSpinBox</class>
- <extends>QSpinBox</extends>
- <header>knuminput.h</header>
- <container>1</container>
- </customwidget>
- <customwidget>
- <class>KLineEdit</class>
- <extends>QLineEdit</extends>
- <header>klineedit.h</header>
- <container>1</container>
- </customwidget>
- <customwidget>
- <class>KPushButton</class>
- <extends>QPushButton</extends>
- <header>kpushbutton.h</header>
- <container>1</container>
- </customwidget>
- </customwidgets>
<tabstops>
<tabstop>kcfg_hostname</tabstop>
<tabstop>kcfg_port</tabstop>
diff --git a/kcmcddb/kcmcddb.cpp b/kcmcddb/kcmcddb.cpp
index 1f9bb9d..49d106f 100644
--- a/kcmcddb/kcmcddb.cpp
+++ b/kcmcddb/kcmcddb.cpp
@@ -49,7 +49,7 @@ CDDBModule::CDDBModule(QWidget *parent, const QVariantList &args)
widget_ = new CDDBConfigWidget(this);
KCDDB::Config* cfg = new KCDDB::Config();
- cfg->readConfig();
+ cfg->load();
addConfig(cfg, widget_);
@@ -76,7 +76,7 @@ CDDBModule::checkSettings() const
{
KCDDB::Config config;
- config.readConfig();
+ config.load();
if (config.smtpHostname().isEmpty() || config.emailAddress().isEmpty()
|| !config.emailAddress().contains(QLatin1String( "@" )) ||
@@ -91,7 +91,7 @@ CDDBModule::checkSettings() const
"and try again."), i18n("Incorrect Email Settings"));
config.setFreedbSubmitTransport(KCDDB::Submit::HTTP);
- config.writeConfig();
+ config.save();
}
}
}
@@ -118,7 +118,7 @@ CDDBModule::load()
KCModule::load();
KCDDB::Config config;
- config.readConfig();
+ config.load();
updateWidgetsFromConfig(config);
}
diff --git a/libkcddb/cdinfodialog.cpp b/libkcddb/cdinfodialog.cpp
index e5790ec..f6763ea 100644
--- a/libkcddb/cdinfodialog.cpp
+++ b/libkcddb/cdinfodialog.cpp
@@ -23,13 +23,15 @@
#include "cdinfoencodingwidget.h"
#include "ui_cdinfodialog.h"
-#include <QTextCodec>
-#include <QStringList>
-#include <QStandardItemModel>
+#include <QtCore/QStringList>
+#include <QtCore/QTextCodec>
+#include <QtCore/QTime>
+#include <QtGui/QStandardItemModel>
+#include <QtWidgets/QVBoxLayout>
#include <QtCore/QDebug>
#include <kglobal.h>
-#include <kcharsets.h>
+#include <KCodecs/KCharsets>
using KCDDB::TrackInfo;
@@ -59,12 +61,14 @@ class CDInfoDialog::Private
QLatin1String CDInfoDialog::Private::SEPARATOR = QLatin1String( " / " );
CDInfoDialog::CDInfoDialog(QWidget* parent)
- : KDialog(parent),
+ : QDialog(parent),
d(new Private)
{
QWidget* w = new QWidget(this);
d->ui->setupUi(w);
- setMainWidget(w);
+
+ QVBoxLayout* layout = new QVBoxLayout(this);
+ layout->addWidget(w);
d->info.set(QLatin1String( "source" ), QLatin1String( "user" ));
@@ -263,9 +267,8 @@ class CDInfoDialog::Private
void CDInfoDialog::slotChangeEncoding()
{
- KDialog* dialog = new KDialog(this);
- dialog->setCaption(i18n("Change Encoding"));
- dialog->setButtons( KDialog::Ok | KDialog::Cancel);
+ QDialog* dialog = new QDialog(this);
+ dialog->setWindowTitle(i18n("Change Encoding"));
dialog->setModal( true );
@@ -281,11 +284,12 @@ class CDInfoDialog::Private
KCDDB::CDInfoEncodingWidget* encWidget = new KCDDB::CDInfoEncodingWidget(
dialog, d->ui->m_artist->text(),d->ui->m_title->text(), songTitles);
- dialog->setMainWidget(encWidget);
+ QVBoxLayout* layout = new QVBoxLayout(dialog);
+ layout->addWidget(encWidget);
if (dialog->exec())
{
- KCharsets* charsets = KGlobal::charsets();
+ KCharsets* charsets = KCharsets::charsets();
QTextCodec* codec = charsets->codecForName(charsets->encodingForName(encWidget->selectedEncoding()));
d->ui->m_artist->setText(codec->toUnicode(d->ui->m_artist->text().toLatin1()));
diff --git a/libkcddb/cdinfodialog.h b/libkcddb/cdinfodialog.h
index b52773e..cd049c5 100644
--- a/libkcddb/cdinfodialog.h
+++ b/libkcddb/cdinfodialog.h
@@ -24,14 +24,14 @@
#include <libkcddb/cdinfo.h>
#include <libkcddb/kcddb.h>
-#include <KDE/KDialog>
+#include <QtWidgets/QDialog>
class QStandardItemModel;
class QModelIndex;
namespace KCDDB
{
- class KCDDB_EXPORT CDInfoDialog : public KDialog
+ class KCDDB_EXPORT CDInfoDialog : public QDialog
{
Q_OBJECT
public:
diff --git a/libkcddb/cdinfodialog.ui b/libkcddb/cdinfodialog.ui
index 9ca3400..eee507c 100644
--- a/libkcddb/cdinfodialog.ui
+++ b/libkcddb/cdinfodialog.ui
@@ -36,7 +36,7 @@
</widget>
</item>
<item row="1" column="1" colspan="3">
- <widget class="KLineEdit" name="m_title">
+ <widget class="QLineEdit" name="m_title">
<property name="toolTip">
<string>Use the name of the artist if there is no title.</string>
</property>
@@ -60,7 +60,7 @@
</widget>
</item>
<item row="0" column="1" colspan="3">
- <widget class="KLineEdit" name="m_artist">
+ <widget class="QLineEdit" name="m_artist">
<property name="toolTip">
<string>Write names as &quot;first last&quot;, not &quot;last, first&quot;. Omit any leading &quot;The&quot;. Use &quot;Various&quot; for compilations.</string>
</property>
@@ -107,7 +107,7 @@
</widget>
</item>
<item row="3" column="1">
- <widget class="KIntSpinBox" name="m_year">
+ <widget class="QSpinBox" name="m_year">
<property name="maximum">
<number>2100</number>
</property>
@@ -121,7 +121,7 @@
</widget>
</item>
<item row="2" column="1" colspan="3">
- <widget class="KLineEdit" name="m_comment"/>
+ <widget class="QLineEdit" name="m_comment"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lb_comment">
@@ -239,7 +239,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="m_playOrder"/>
+ <widget class="QLineEdit" name="m_playOrder"/>
</item>
</layout>
</widget>
@@ -249,18 +249,6 @@
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
- <customwidget>
- <class>KLineEdit</class>
- <extends>QLineEdit</extends>
- <header>klineedit.h</header>
- <container>1</container>
- </customwidget>
- <customwidget>
- <class>KIntSpinBox</class>
- <extends>QSpinBox</extends>
- <header>knuminput.h</header>
- <container>1</container>
- </customwidget>
</customwidgets>
<tabstops>
<tabstop>m_artist</tabstop>
diff --git a/libkcddb/cdinfoencodingwidget.cpp b/libkcddb/cdinfoencodingwidget.cpp
index 9f8866e..9f1ca88 100644
--- a/libkcddb/cdinfoencodingwidget.cpp
+++ b/libkcddb/cdinfoencodingwidget.cpp
@@ -19,10 +19,9 @@
#include "cdinfoencodingwidget.h"
-#include <qtextcodec.h>
-#include <klocale.h>
-#include <kglobal.h>
-#include <kcharsets.h>
+#include <QtCore/QTextCodec>
+#include <KCodecs/KCharsets>
+#include <KI18n/KLocalizedString>
namespace KCDDB
{
@@ -33,7 +32,7 @@ namespace KCDDB
{
setupUi(this);
- encodingCombo->addItems(KGlobal::charsets()->descriptiveEncodingNames());
+ encodingCombo->addItems(KCharsets::charsets()->descriptiveEncodingNames());
slotEncodingChanged(encodingCombo->currentText());
@@ -48,7 +47,7 @@ namespace KCDDB
void CDInfoEncodingWidget::slotEncodingChanged(const QString& encoding)
{
- KCharsets* charsets = KGlobal::charsets();
+ KCharsets* charsets = KCharsets::charsets();
QTextCodec* codec = charsets->codecForName(charsets->encodingForName(encoding));
diff --git a/libkcddb/cdinfoencodingwidget.ui b/libkcddb/cdinfoencodingwidget.ui
index 0f92cf7..53ca791 100644
--- a/libkcddb/cdinfoencodingwidget.ui
+++ b/libkcddb/cdinfoencodingwidget.ui
@@ -11,19 +11,21 @@
</rect>
</property>
<layout class="QGridLayout">
- <property name="margin">
+ <property name="leftMargin">
+ <number>10</number>
+ </property>
+ <property name="topMargin">
+ <number>10</number>
+ </property>
+ <property name="rightMargin">
+ <number>10</number>
+ </property>
+ <property name="bottomMargin">
<number>10</number>
</property>
<property name="spacing">
<number>6</number>
</property>
- <item row="0" column="0">
- <widget class="QLabel" name="encodingLabel">
- <property name="text">
- <string>Encoding</string>
- </property>
- </widget>
- </item>
<item row="0" column="1">
<widget class="QComboBox" name="encodingCombo"/>
</item>
@@ -36,7 +38,16 @@
<property name="spacing">
<number>6</number>
</property>
- <property name="margin">
+ <property name="leftMargin">
+ <number>10</number>
+ </property>
+ <property name="topMargin">
+ <number>10</number>
+ </property>
+ <property name="rightMargin">
+ <number>10</number>
+ </property>
+ <property name="bottomMargin">
<number>10</number>
</property>
<item>
@@ -47,7 +58,7 @@
</widget>
</item>
<item>
- <widget class="KListWidget" name="songsBox">
+ <widget class="QListWidget" name="songsBox">
<property name="minimumSize">
<size>
<width>300</width>
@@ -59,15 +70,22 @@
</layout>
</widget>
</item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="encodingLabel">
+ <property name="text">
+ <string>Encoding</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" colspan="2">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
- <customwidgets>
- <customwidget>
- <class>KListWidget</class>
- <extends>QListWidget</extends>
- <header>klistwidget.h</header>
- </customwidget>
- </customwidgets>
<resources/>
<connections/>
</ui>
diff --git a/libkcddb/client.cpp b/libkcddb/client.cpp
index 35ed4c7..b122495 100644
--- a/libkcddb/client.cpp
+++ b/libkcddb/client.cpp
@@ -70,7 +70,7 @@ namespace KCDDB
Client::Client()
: d(new Private)
{
- d->config.readConfig();
+ d->config.load();
}
Client::~Client()
diff --git a/libkcddb/kcddbconfig.cpp b/libkcddb/kcddbconfig.cpp
index 27f2a34..cd0429a 100644
--- a/libkcddb/kcddbconfig.cpp
+++ b/libkcddb/kcddbconfig.cpp
@@ -49,7 +49,7 @@ namespace KCDDB
{
loadEmailSettings();
- readConfig();
+ load();
}
}
diff --git a/test/asynchttpsubmittest.cpp b/test/asynchttpsubmittest.cpp
index 70792f4..4574872 100644
--- a/test/asynchttpsubmittest.cpp
+++ b/test/asynchttpsubmittest.cpp
@@ -18,14 +18,13 @@
*/
#include <QtCore/QDebug>
-#include <kapplication.h>
-#include <kcmdlineargs.h>
+#include <QtCore/QCoreApplication>
#include "asynchttpsubmittest.h"
#include "libkcddb/submit.h"
-AsyncHTTPSubmitTest::AsyncHTTPSubmitTest()
- : QObject()
+AsyncHTTPSubmitTest::AsyncHTTPSubmitTest(QCoreApplication& app)
+ : app_(app)
{
using namespace KCDDB;
@@ -70,16 +69,15 @@ AsyncHTTPSubmitTest::slotFinished(Result r)
{
qDebug() << "AsyncHTTPSubmitTest::slotFinished: Got " << KCDDB::resultToString(r);
- kapp->quit();
+ app_.quit();
}
int main(int argc, char ** argv)
{
- KCmdLineArgs::init(argc, argv, "libkcddb_test", 0, KLocalizedString(), "");
+ QCoreApplication app(argc, argv);
+ app.setApplicationName("libkcddb_test");
- KApplication app(false);
-
- new AsyncHTTPSubmitTest;
+ new AsyncHTTPSubmitTest(app);
return app.exec();
}
diff --git a/test/asynchttpsubmittest.h b/test/asynchttpsubmittest.h
index 0f31f10..ba89ecf 100644
--- a/test/asynchttpsubmittest.h
+++ b/test/asynchttpsubmittest.h
@@ -25,12 +25,14 @@
using namespace KCDDB;
+class QCoreApplication;
+
class AsyncHTTPSubmitTest : public QObject
{
Q_OBJECT
public:
- AsyncHTTPSubmitTest();
+ AsyncHTTPSubmitTest(QCoreApplication& app);
public slots:
@@ -38,6 +40,7 @@ class AsyncHTTPSubmitTest : public QObject
private:
+ QCoreApplication& app_;
KCDDB::Client * client_;
};
diff --git a/test/asyncsmtpsubmittest.cpp b/test/asyncsmtpsubmittest.cpp
index 425cca4..e99d879 100644
--- a/test/asyncsmtpsubmittest.cpp
+++ b/test/asyncsmtpsubmittest.cpp
@@ -18,14 +18,13 @@
*/
#include <QtCore/QDebug>
-#include <kapplication.h>
-#include <kcmdlineargs.h>
+#include <QtCore/QCoreApplication>
#include "asyncsmtpsubmittest.h"
#include "libkcddb/submit.h"
-AsyncSMTPSubmitTest::AsyncSMTPSubmitTest()
- : QObject()
+AsyncSMTPSubmitTest::AsyncSMTPSubmitTest(QCoreApplication& app)
+ : app_(app)
{
using namespace KCDDB;
@@ -71,16 +70,15 @@ AsyncSMTPSubmitTest::slotFinished(Result r)
{
qDebug() << "AsyncSMTPSubmitTest::slotFinished: Got " << KCDDB::resultToString(r);
- kapp->quit();
+ app_.quit();
}
int main(int argc, char ** argv)
{
- KCmdLineArgs::init(argc, argv, "libkcddb_test", 0, KLocalizedString(), "");
+ QCoreApplication app(argc, argv);
+ app.setApplicationName("libkcddb_test");
- KApplication app(false);
-
- new AsyncSMTPSubmitTest;
+ new AsyncSMTPSubmitTest(app);
return app.exec();
}
diff --git a/test/asyncsmtpsubmittest.h b/test/asyncsmtpsubmittest.h
index d053267..0d19114 100644
--- a/test/asyncsmtpsubmittest.h
+++ b/test/asyncsmtpsubmittest.h
@@ -25,12 +25,14 @@
using namespace KCDDB;
+class QCoreApplication;
+
class AsyncSMTPSubmitTest : public QObject
{
Q_OBJECT
public:
- AsyncSMTPSubmitTest();
+ AsyncSMTPSubmitTest(QCoreApplication& app);
public slots:
@@ -38,6 +40,7 @@ class AsyncSMTPSubmitTest : public QObject
private:
+ QCoreApplication& app_;
KCDDB::Client * client_;
};
diff --git a/test/sitestest.cpp b/test/sitestest.cpp
index 3fbe95b..e5aeeed 100644
--- a/test/sitestest.cpp
+++ b/test/sitestest.cpp
@@ -18,18 +18,16 @@
*/
#include <QtCore/QDebug>
-#include <kapplication.h>
-#include <kcmdlineargs.h>
+#include <QtCore/QCoreApplication>
+#include <QtCore/QList>
#include "libkcddb/sites.h"
-#include <qlist.h>
int
main(int argc, char ** argv)
{
- KCmdLineArgs::init(argc, argv, "libkcddb_test", 0, KLocalizedString(), "");
-
- KApplication app(true);
+ QCoreApplication app(argc, argv);
+ app.setApplicationName("libkcddb_test");
using namespace KCDDB;
diff --git a/test/synchttpsubmittest.cpp b/test/synchttpsubmittest.cpp
index 7dc83c5..d247b1e 100644
--- a/test/synchttpsubmittest.cpp
+++ b/test/synchttpsubmittest.cpp
@@ -18,8 +18,7 @@
*/
#include <QtCore/QDebug>
-#include <kapplication.h>
-#include <kcmdlineargs.h>
+#include <QtCore/QCoreApplication>
#include "libkcddb/client.h"
#include "libkcddb/kcddbconfig.h"
@@ -28,9 +27,8 @@
int
main(int argc, char ** argv)
{
- KCmdLineArgs::init(argc, argv, "libkcddb_test", 0, KLocalizedString(), "");
-
- KApplication app(false /* No styles */);
+ QCoreApplication app(argc, argv);
+ app.setApplicationName("libkcddb_test");
using namespace KCDDB;
diff --git a/test/syncsmtpsubmittest.cpp b/test/syncsmtpsubmittest.cpp
index d7c63e3..2aca5ae 100644
--- a/test/syncsmtpsubmittest.cpp
+++ b/test/syncsmtpsubmittest.cpp
@@ -18,8 +18,7 @@
*/
#include <QtCore/QDebug>
-#include <kapplication.h>
-#include <kcmdlineargs.h>
+#include <QtCore/QCoreApplication>
#include "libkcddb/client.h"
#include "libkcddb/kcddbconfig.h"
@@ -28,9 +27,8 @@
int
main(int argc, char ** argv)
{
- KCmdLineArgs::init(argc, argv, "libkcddb_test", 0, KLocalizedString(), "");
-
- KApplication app(false /* No styles */);
+ QCoreApplication app(argc, argv);
+ app.setApplicationName("libkcddb_test");
using namespace KCDDB;