From bc28f1332bbbf9bad49bbad6fd01ef03b4ab99b9 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 9 Feb 2012 19:10:54 +0000 Subject: refactoring: add QmmpUiSettings class, removed deprecated code git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2588 90c681e8-e032-0410-971d-27865f9a5e38 --- src/app/qmmpstarter.cpp | 5 +++-- src/app/translations/qmmp_cs.ts | 20 ++++++++++---------- src/app/translations/qmmp_de.ts | 20 ++++++++++---------- src/app/translations/qmmp_es.ts | 20 ++++++++++---------- src/app/translations/qmmp_hu.ts | 20 ++++++++++---------- src/app/translations/qmmp_it.ts | 20 ++++++++++---------- src/app/translations/qmmp_ja.ts | 20 ++++++++++---------- src/app/translations/qmmp_lt.ts | 20 ++++++++++---------- src/app/translations/qmmp_nl.ts | 20 ++++++++++---------- src/app/translations/qmmp_pl_PL.ts | 20 ++++++++++---------- src/app/translations/qmmp_pt_BR.ts | 20 ++++++++++---------- src/app/translations/qmmp_ru.ts | 20 ++++++++++---------- src/app/translations/qmmp_sk.ts | 20 ++++++++++---------- src/app/translations/qmmp_tr.ts | 20 ++++++++++---------- src/app/translations/qmmp_uk_UA.ts | 20 ++++++++++---------- src/app/translations/qmmp_zh_CN.ts | 20 ++++++++++---------- src/app/translations/qmmp_zh_TW.ts | 20 ++++++++++---------- 17 files changed, 163 insertions(+), 162 deletions(-) (limited to 'src/app') diff --git a/src/app/qmmpstarter.cpp b/src/app/qmmpstarter.cpp index d01dd79a6..471c87ebd 100644 --- a/src/app/qmmpstarter.cpp +++ b/src/app/qmmpstarter.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include "qmmpstarter.h" #include "builtincommandlineoption.h" @@ -195,8 +196,8 @@ void QMMPStarter::savePosition() { QSettings settings(Qmmp::configFile(), QSettings::IniFormat); settings.beginGroup("General"); - settings.setValue("resume_playback", m_core->state() == Qmmp::Playing && - settings.value("resume_on_startup", false).toBool()); + settings.setValue("resume_playback",m_core->state() == Qmmp::Playing && + QmmpUiSettings::instance()->resumeOnStartup()); settings.setValue("resume_playback_time", m_core->totalTime() > 0 ? m_core->elapsed() : 0); settings.endGroup(); m_core->stop(); diff --git a/src/app/translations/qmmp_cs.ts b/src/app/translations/qmmp_cs.ts index ae1c79c04..4611b4ede 100644 --- a/src/app/translations/qmmp_cs.ts +++ b/src/app/translations/qmmp_cs.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Použití: qmmp [volby] [soubory] - + Options: Volby: - + Don't start the application - + Print version number and exit Vypsat číslo verze a skončit - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Nápady, patche, hlášení chyb posílejte na forkotov02@hotmail.ru (anglicky) - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit Zobrazit tento text a skončit - + Unknown command Neznámý příkaz diff --git a/src/app/translations/qmmp_de.ts b/src/app/translations/qmmp_de.ts index 8e6cd92dc..952bcc1f7 100644 --- a/src/app/translations/qmmp_de.ts +++ b/src/app/translations/qmmp_de.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Aufruf: qmmp [Optionen] [Dateien] - + Options: Optionen: - + Don't start the application Die Anwendung nicht starten - + Print version number and exit Gibt die Versionsnummer aus - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Ideen, Patches und Bugreports an <forkotov02@hotmail.ru> senden - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit Zeigt diesen Hilfetext an - + Unknown command Unbekannter Befehl diff --git a/src/app/translations/qmmp_es.ts b/src/app/translations/qmmp_es.ts index d99455df2..21d19a84d 100644 --- a/src/app/translations/qmmp_es.ts +++ b/src/app/translations/qmmp_es.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Uso: qmmp [opciones] [archivos] - + Options: Opciones: - + Print version number and exit Mostrar el número de versión y salir - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Enviar ideas, parches, errores a: forkotov02@hotmail.ru - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit Muestra este texto y sale - + Unknown command Comando desconocido - + Don't start the application No iniciar la aplicación diff --git a/src/app/translations/qmmp_hu.ts b/src/app/translations/qmmp_hu.ts index a44a8c295..dec1a8aac 100644 --- a/src/app/translations/qmmp_hu.ts +++ b/src/app/translations/qmmp_hu.ts @@ -72,52 +72,52 @@ QMMPStarter - + Unknown command Ismeretlen parancs - + Usage: qmmp [options] [files] Használat: qmmp [opciók] [fájlok] - + Options: Opciók: - + Don't start the application - + Display this text and exit Mutasd ezt a szöveget, majd lépj ki - + Print version number and exit Mutasd a verziószámot, majd lépj ki - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Ötleteket, foltokat, hibajelentéseket küld a forkotov02@hotmail.ru címre - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 diff --git a/src/app/translations/qmmp_it.ts b/src/app/translations/qmmp_it.ts index 71c348396..28cbda36a 100644 --- a/src/app/translations/qmmp_it.ts +++ b/src/app/translations/qmmp_it.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Uso: qmmp [options] [fichiers] - + Options: Opzioni: - + Print version number and exit Stampa il numero di versione ed esci - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Per idee, modifiche, segnalazione di errori scrivire a: forkotov02@hotmail.ru - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit Mostra questo testo ed esci - + Unknown command Comando sconosciuto - + Don't start the application diff --git a/src/app/translations/qmmp_ja.ts b/src/app/translations/qmmp_ja.ts index 0113890d7..0e79bf0cc 100644 --- a/src/app/translations/qmmp_ja.ts +++ b/src/app/translations/qmmp_ja.ts @@ -72,52 +72,52 @@ QMMPStarter - + Unknown command 不明なコマンドです - + Usage: qmmp [options] [files] 使用法: qmmp [オプション] [ファイル名:複数可] - + Options: オプション: - + Don't start the application アプリケーションを始動しない - + Display this text and exit このメッセージを表示して終了 - + Print version number and exit バージョン番号を表示して終了 - + Ideas, patches, bugreports send to forkotov02@hotmail.ru 名案, パッチ, バグ報告は forkotov02@hotmail.ru まで - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 diff --git a/src/app/translations/qmmp_lt.ts b/src/app/translations/qmmp_lt.ts index 88c679786..b47fc8e38 100644 --- a/src/app/translations/qmmp_lt.ts +++ b/src/app/translations/qmmp_lt.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Naudojimas: qmmp [nuostatos] [bylos] - + Options: Nustatymai: - + Print version number and exit Parodyti versiją ir išeiti - + Display this text and exit Parodyti šį tekstą ir išeiti - + Unknown command Nežinoma komanda - + Don't start the application Nepaleisti programos - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Idėjas, pataisymus, klaidas siųsti forkotov02@hotmail.ru - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 diff --git a/src/app/translations/qmmp_nl.ts b/src/app/translations/qmmp_nl.ts index f2953623c..5b26ad810 100644 --- a/src/app/translations/qmmp_nl.ts +++ b/src/app/translations/qmmp_nl.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Gebruik: qmmp [opties] [bestanden] - + Options: Opties: - + Don't start the application - + Print version number and exit Print versienummer en sluit - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Ideëen, patches, foutrapporten zenden naar forkotov02@hotmail.ru (anglicky) - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit Toon dit tekstje en sluit - + Unknown command Onbekend commando diff --git a/src/app/translations/qmmp_pl_PL.ts b/src/app/translations/qmmp_pl_PL.ts index 6ab5790ba..9e33e7bad 100644 --- a/src/app/translations/qmmp_pl_PL.ts +++ b/src/app/translations/qmmp_pl_PL.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Użycie: qmmp [opcje] [pliki] - + Options: Opcje: - + Don't start the application Nie uruchamiaj aplikacji - + Print version number and exit Wyświetla wersję programu i wychodzi - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Pomysły, poprawki, raporty o błędach proszę wysyłać na forkotov02@hotmail.ru - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit Wyświetla ten tekst i wychodzi - + Unknown command Nieznane polecenie diff --git a/src/app/translations/qmmp_pt_BR.ts b/src/app/translations/qmmp_pt_BR.ts index f8745a490..9eaecc381 100644 --- a/src/app/translations/qmmp_pt_BR.ts +++ b/src/app/translations/qmmp_pt_BR.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] - + Options: - + Don't start the application - + Print version number and exit - + Ideas, patches, bugreports send to forkotov02@hotmail.ru - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit - + Unknown command diff --git a/src/app/translations/qmmp_ru.ts b/src/app/translations/qmmp_ru.ts index 5deb7422d..9d6209fe7 100644 --- a/src/app/translations/qmmp_ru.ts +++ b/src/app/translations/qmmp_ru.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Использование: qmmp [options] [files] - + Options: Опции: - + Don't start the application Не запускать приложение - + Print version number and exit Показать версии и выйти - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Идеи, исправления, отчёты об ошибках: forkotov02@hotmail.ru - + QMMP version: %1 Версия QMMP: %1 - + Compiled with Qt version: %1 Собрано с версией Qt: %1 - + Using Qt version: %1 Используемая версия Qt: %1 - + Display this text and exit Показать этот текст и выйти - + Unknown command Неизвестная команда diff --git a/src/app/translations/qmmp_sk.ts b/src/app/translations/qmmp_sk.ts index 63a740aa3..d5b6fc3c4 100644 --- a/src/app/translations/qmmp_sk.ts +++ b/src/app/translations/qmmp_sk.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Použitie: qmmp [možnosti] [súbory] - + Options: Možnosti: - + Don't start the application Nezapnúť program - + Print version number and exit Vypísať číslo verzie a skončiť - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Nápady, záplaty, hlásenie chýb posílejte na forkotov02@hotmail.ru (anglicky) - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit Zobraziť tento text a skončiť - + Unknown command Neznámý príkaz diff --git a/src/app/translations/qmmp_tr.ts b/src/app/translations/qmmp_tr.ts index 7c550f40e..ada9911ee 100644 --- a/src/app/translations/qmmp_tr.ts +++ b/src/app/translations/qmmp_tr.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Kullanım:qmmp [seçenek] [dosyalar] - + Options: Seçenekler: - + Don't start the application - + Print version number and exit Sürüm numarasını yazdır ve çık - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Fikirleinizi, yamalarınızı, hata raporlarınızı forkotov02@hotmail.ru adresine gönderin - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit Bu metni göster ve çık - + Unknown command diff --git a/src/app/translations/qmmp_uk_UA.ts b/src/app/translations/qmmp_uk_UA.ts index 71d398400..96d7cc481 100644 --- a/src/app/translations/qmmp_uk_UA.ts +++ b/src/app/translations/qmmp_uk_UA.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] Використання: qmmp [options] [files] - + Options: Опції: - + Don't start the application Не запускати програму - + Print version number and exit Показати версію та вийти - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Ідеї, виправлення, звіти про помилки: forkotov02@hotmail.ru - + QMMP version: %1 Версія QMMP: %1 - + Compiled with Qt version: %1 Зібрано з Qt версії: %1 - + Using Qt version: %1 Використовується Qt версії: %1 - + Display this text and exit Показати цей текст та вийти - + Unknown command Невідома команда diff --git a/src/app/translations/qmmp_zh_CN.ts b/src/app/translations/qmmp_zh_CN.ts index 349147b59..dff65c444 100644 --- a/src/app/translations/qmmp_zh_CN.ts +++ b/src/app/translations/qmmp_zh_CN.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] 使用:qmmp [设置] [文件] - + Options: 设置: - + Don't start the application 无法启动此程序 - + Print version number and exit 显示版本并退出 - + Ideas, patches, bugreports send to forkotov02@hotmail.ru 建议、补丁或提交 bug 请发送到 forkotov02@hotmail.ru - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit 显示这些文本并退出 - + Unknown command 未知指令 diff --git a/src/app/translations/qmmp_zh_TW.ts b/src/app/translations/qmmp_zh_TW.ts index 989712be8..c1d8b8a34 100644 --- a/src/app/translations/qmmp_zh_TW.ts +++ b/src/app/translations/qmmp_zh_TW.ts @@ -72,52 +72,52 @@ QMMPStarter - + Usage: qmmp [options] [files] 使用:qmmp [設定] [文件] - + Options: 設定: - + Don't start the application 無法啟動此程式 - + Print version number and exit 察看版本並結束 - + Ideas, patches, bugreports send to forkotov02@hotmail.ru 建議、補丁或提交 bug 請傳送到 forkotov02@hotmail.ru - + QMMP version: %1 - + Compiled with Qt version: %1 - + Using Qt version: %1 - + Display this text and exit 察看這些字檔並結束 - + Unknown command 未知指令 -- cgit v1.2.3-13-gbd6f