Commit 1d960daa authored by Urs Fleisch's avatar Urs Fleisch
Browse files

Make order of quick access frames configurable.

parent d0ccf59e
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2015-05-13 21:43+0200\n"
"Last-Translator: Pavel Fric <pavelfric@seznam.cz>\n"
"Language-Team: Czech <kde-i18n-doc@kde.org>\n"
......@@ -1357,6 +1357,9 @@ msgstr "&Ukázat pouze vlastní žánry"
msgid "&Quick Access Frames"
msgstr "Prvky s &rychlým přístupem"
msgid "Use drag and drop to reorder the items"
msgstr "Uspořádání můžete upravit přetahováním položek"
msgid "&Tag Format"
msgstr "&Formát značky"
......
......@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-04-26 23:41+0200\n"
"Last-Translator: Frank Steinmetzger <Warp_7@gmx.de>\n"
"Language-Team: German <kde-i18n-doc@kde.org>\n"
......@@ -1356,6 +1356,9 @@ msgstr "Nur eigene Genre&s anzeigen"
msgid "&Quick Access Frames"
msgstr "Schnellzug&riff-Elemente"
msgid "Use drag and drop to reorder the items"
msgstr "Klicken und ziehen Sie, um Elemente zu sortieren"
msgid "&Tag Format"
msgstr "&Tag-Format"
......
......@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-01-15 17:29+0100\n"
"Last-Translator: \n"
"Language-Team: Spanish <kde-i18n-doc@kde.org>\n"
......@@ -1357,6 +1357,9 @@ msgstr "&Mostrar sólo géneros personalizados"
msgid "&Quick Access Frames"
msgstr "Campos de acceso &rápido"
msgid "Use drag and drop to reorder the items"
msgstr "Arrastre y suelte para reordenar los elementos"
msgid "&Tag Format"
msgstr "&Formato de etiqueta"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2014-01-23 22:00+0200\n"
"Last-Translator: Mihkel Tõnnov <mihhkel@gmail.com>\n"
"Language-Team: Estonian <kde-i18n-doc@kde.org>\n"
......@@ -1355,6 +1355,9 @@ msgstr "Näidatakse ainult ko&handatud stiile"
msgid "&Quick Access Frames"
msgstr "Raa&mide kiirloend"
msgid "Use drag and drop to reorder the items"
msgstr "Järjekorda saab nende lohistamise teel"
msgid "&Tag Format"
msgstr "&Sildivorming"
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2014-01-25 00:31+0200\n"
"Last-Translator: Tommi Nieminen <translator@legisign.org>\n"
"Language-Team: Finnish <kde-i18n-doc@kde.org>\n"
......@@ -1355,6 +1355,9 @@ msgstr "Näytä &vain omat tyylilajit"
msgid "&Quick Access Frames"
msgstr "Tunniste&oikopolut"
msgid "Use drag and drop to reorder the items"
msgstr "Järjestä uudestaan raahaamalla"
msgid "&Tag Format"
msgstr "T&unnisteen muoto"
......
......@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-01-15 17:32+0100\n"
"Last-Translator: \n"
"Language-Team: French <kde-i18n-doc@kde.org>\n"
......@@ -1356,6 +1356,9 @@ msgstr "&Montrer seulement les genres pernonnalisés"
msgid "&Quick Access Frames"
msgstr "Cadres d'accès &rapide"
msgid "Use drag and drop to reorder the items"
msgstr "Utiliser le glisser-déposer pour trier à nouveau les éléments"
msgid "&Tag Format"
msgstr "Forma&t des balises"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-01-15 17:33+0100\n"
"Last-Translator: \n"
"Language-Team: Italian <kde-i18n-doc@kde.org>\n"
......@@ -1354,6 +1354,9 @@ msgstr "&Mostra solo generi personalizzati"
msgid "&Quick Access Frames"
msgstr "Frame di accesso &rapido"
msgid "Use drag and drop to reorder the items"
msgstr "Trascina per riordinare gli elementi"
msgid "&Tag Format"
msgstr "Formato &tag"
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:56+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"
......@@ -1351,6 +1351,9 @@ msgstr ""
msgid "&Quick Access Frames"
msgstr ""
msgid "Use drag and drop to reorder the items"
msgstr ""
msgid "&Tag Format"
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2012-12-07 15:47+0100\n"
"Last-Translator: toon <toon@vgerwen.nl>\n"
"Language-Team: Dutch <kde-i18n-doc@kde.org>\n"
......@@ -1355,6 +1355,9 @@ msgstr "Toon a&lleen aangepaste genres"
msgid "&Quick Access Frames"
msgstr "S&nelle Toegang Frames"
msgid "Use drag and drop to reorder the items"
msgstr "Slepen om de volgorde te veranderen"
msgid "&Tag Format"
msgstr "&Tagstructuur"
......
......@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-01-15 17:37+0100\n"
"Last-Translator: \n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
......@@ -1356,6 +1356,9 @@ msgstr "&Pokazuj tylko własne gatunki"
msgid "&Quick Access Frames"
msgstr "Ram&ki szybkiego dostępu"
msgid "Use drag and drop to reorder the items"
msgstr "Przeciągnij i upuść aby zmienić kolejność"
msgid "&Tag Format"
msgstr "&Format znacznika"
......
......@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-01-15 17:41+0100\n"
"Last-Translator: \n"
"Language-Team: Russian <kde-i18n-doc@kde.org>\n"
......@@ -1356,6 +1356,9 @@ msgstr "&Показывать только выборочная жанры"
msgid "&Quick Access Frames"
msgstr "Фреймы быстро&го доступа"
msgid "Use drag and drop to reorder the items"
msgstr "Используйте перетаскивание и отпускание для переупорядочивания пунктов"
msgid "&Tag Format"
msgstr "&Формат тэга"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-04-26 23:41+0200\n"
"Last-Translator: Mladen Pejaković <pejakm@gmail.com>\n"
"Language-Team: Serbian <kde-i18n-sr@lists.kde.org>\n"
......@@ -1354,6 +1354,9 @@ msgstr "Прик&ажи само посебне жанрове"
msgid "&Quick Access Frames"
msgstr ""
msgid "Use drag and drop to reorder the items"
msgstr "Превуците за прерасподеђивање чворова"
msgid "&Tag Format"
msgstr "&Формат ознаке"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-04-26 23:41+0200\n"
"Last-Translator: Mladen Pejaković <pejakm@gmail.com>\n"
"Language-Team: Serbian <kde-i18n-sr@lists.kde.org>\n"
......@@ -1354,6 +1354,9 @@ msgstr "Прик&ажи само посебне жанрове"
msgid "&Quick Access Frames"
msgstr ""
msgid "Use drag and drop to reorder the items"
msgstr "Превуците за прерасподеђивање чворова"
msgid "&Tag Format"
msgstr "&Формат ознаке"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-04-26 23:41+0200\n"
"Last-Translator: Mladen Pejaković <pejakm@gmail.com>\n"
"Language-Team: Serbian <kde-i18n-sr@lists.kde.org>\n"
......@@ -1354,6 +1354,9 @@ msgstr "Prik&aži samo posebne žanrove"
msgid "&Quick Access Frames"
msgstr ""
msgid "Use drag and drop to reorder the items"
msgstr "Prevucite za preraspodeđivanje čvorova"
msgid "&Tag Format"
msgstr "&Format oznake"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-04-26 23:41+0200\n"
"Last-Translator: Mladen Pejaković <pejakm@gmail.com>\n"
"Language-Team: Serbian <kde-i18n-sr@lists.kde.org>\n"
......@@ -1354,6 +1354,9 @@ msgstr "Prik&aži samo posebne žanrove"
msgid "&Quick Access Frames"
msgstr ""
msgid "Use drag and drop to reorder the items"
msgstr "Prevucite za preraspodeđivanje čvorova"
msgid "&Tag Format"
msgstr "&Format oznake"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-01-15 17:42+0100\n"
"Last-Translator: \n"
"Language-Team: Turkish <kde-i18n-doc@kde.org>\n"
......@@ -1354,6 +1354,9 @@ msgstr ""
msgid "&Quick Access Frames"
msgstr ""
msgid "Use drag and drop to reorder the items"
msgstr "Yeniden sıralamak için Taşıyın ve Bırakın"
msgid "&Tag Format"
msgstr "&Tag Biçimi"
......
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2014-08-24 15:11+0800\n"
"Last-Translator: shlinux <lishaohui.qd@163.com>\n"
"Language-Team: Chinese Simplified <kde-china@kde.org>\n"
......@@ -1353,6 +1353,9 @@ msgstr "仅显示自定义流派(&S)"
msgid "&Quick Access Frames"
msgstr "快速访问标签(&Q)"
msgid "Use drag and drop to reorder the items"
msgstr "拖动来安排他们的优先顺序"
msgid "&Tag Format"
msgstr "标签格式(&T)"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Kid3 3.2.1\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/p/kid3/bugs/\n"
"POT-Creation-Date: 2015-05-09 10:51+0200\n"
"POT-Creation-Date: 2015-08-11 21:22+0200\n"
"PO-Revision-Date: 2011-01-15 17:43+0100\n"
"Last-Translator: \n"
"Language-Team: Chinese (traditional) <kde-i18n-doc@kde.org>\n"
......@@ -1357,6 +1357,9 @@ msgstr "僅顯示自訂曲風(&S)"
msgid "&Quick Access Frames"
msgstr "快速访问标签(&Q)"
msgid "Use drag and drop to reorder the items"
msgstr "使用拖放重新排序項目"
msgid "&Tag Format"
msgstr "標籤格式(&T)"
......
......@@ -25,6 +25,7 @@
*/
#include "generalconfig.h"
#include <QStringList>
/**
* Constructor.
......@@ -38,3 +39,31 @@ GeneralConfig::GeneralConfig(const QString& grp) : m_group(grp) {}
* Destructor.
*/
GeneralConfig::~GeneralConfig() {}
/**
* Convert list of integers to list of strings.
* @param intList list of integers
* @return list of strings.
*/
QStringList GeneralConfig::intListToStringList(const QList<int>& intList)
{
QStringList result;
foreach (int value, intList) {
result.append(QString::number(value));
}
return result;
}
/**
* Convert list of strings to list of integers.
* @param strList list of strings
* @return list of integers.
*/
QList<int> GeneralConfig::stringListToIntList(const QStringList& strList)
{
QList<int> result;
foreach (const QString& value, strList) {
result.append(value.toInt());
}
return result;
}
......@@ -66,6 +66,20 @@ public:
virtual void readFromConfig(ISettings* config) = 0;
protected:
/**
* Convert list of integers to list of strings.
* @param intList list of integers
* @return list of strings.
*/
static QStringList intListToStringList(const QList<int>& intList);
/**
* Convert list of strings to list of integers.
* @param strList list of strings
* @return list of integers.
*/
static QList<int> stringListToIntList(const QStringList& strList);
/** Configuration group. */
QString m_group;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment