Commit graph

7 commits

Author SHA1 Message Date
Dominik Riebeling
ee09cb7f0d Untie rbutil core logic from QtGui for cli:
- include QtCore instead of QtGui if possible
- replace qApp with QCoreApplication::instance(), as qApp is only defined for QtGui
- use QCoreApplication instead of QApplication for inherited static members.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16274 a1c6a512-1295-4272-9138-f99709370657
2008-02-10 18:25:49 +00:00
Dominik Riebeling
22cf8adf01 Use i10n for numbers using QLocale.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15027 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 21:26:53 +00:00
Dominik Riebeling
b9dbd4ee9c - rework language selection a bit: use language string as key instead of language file basename. Display the language string in the selection list too. This makes it possible to distinguish between two variants of the same language without adjusting the language name.
- move user settings from "defaults" section to "general". Makes the code cleaner and has been that way for historical reasons only anyway.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14592 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 14:37:00 +00:00
Dominik Riebeling
a3af8f1dce add project file for including accessibility plugin when building static binary. As there is no way to distinguish between static and dynamic builds you need to select the project file manually.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14432 a1c6a512-1295-4272-9138-f99709370657
2007-08-22 20:51:36 +00:00
Dominik Riebeling
edf54496ad small simplification.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14260 a1c6a512-1295-4272-9138-f99709370657
2007-08-09 18:40:32 +00:00
Dominik Riebeling
82373b246e support for translating rbutil. Translation files (*.qm) can be in the binary folder or in the resource :/lang. Incomplete german translation available for testing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14061 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 18:09:41 +00:00
Dominik Riebeling
680408f4ac First stab at porting rbutil to Qt4. Currently only installing a current or archived build is working. To build, run qmake && make in the source folder. Beware that the syntax of rbutil.ini has slightly changed. Caching of the downloaded files is also still missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13989 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 20:21:06 +00:00