summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-07-29 18:09:41 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-07-29 18:09:41 +0000
commit82373b246ebb512de4418c358069e358451107ca (patch)
tree8b717604c81af45db46586a2ee9f92e86db66f02 /rbutil/rbutilqt/configure.h
parent917e0acd644f286604a99d707730f7bead9caa08 (diff)
downloadrockbox-82373b246ebb512de4418c358069e358451107ca.tar.gz
rockbox-82373b246ebb512de4418c358069e358451107ca.tar.bz2
rockbox-82373b246ebb512de4418c358069e358451107ca.zip
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
Diffstat (limited to 'rbutil/rbutilqt/configure.h')
-rw-r--r--rbutil/rbutilqt/configure.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/configure.h b/rbutil/rbutilqt/configure.h
index f3b879e333..a37f88b5e7 100644
--- a/rbutil/rbutilqt/configure.h
+++ b/rbutil/rbutilqt/configure.h
@@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
*
* Copyright (C) 2007 by Dominik Riebeling
- * $Id:$
+ * $Id$
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
@@ -40,9 +40,15 @@ class Config : public QDialog
private:
Ui::ConfigForm ui;
QSettings *userSettings;
+ QStringList findLanguageFiles(void);
+ QString languageName(const QString&);
+ QMap<QString, QString> lang;
+ QString language;
+ QString programPath;
private slots:
void setNoProxy(bool);
+ void updateLanguage(void);
};
#endif