[qet] [2999] Add new country Netherlands switch |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2999
Author: scorpio810
Date: 2014-04-17 16:41:45 +0200 (Thu, 17 Apr 2014)
Log Message:
-----------
Add new country Netherlands switch
Modified Paths:
--------------
trunk/qelectrotech.qrc
trunk/sources/configpages.cpp
trunk/sources/qeticons.cpp
trunk/sources/qeticons.h
Modified: trunk/qelectrotech.qrc
===================================================================
--- trunk/qelectrotech.qrc 2014-04-17 06:04:36 UTC (rev 2998)
+++ trunk/qelectrotech.qrc 2014-04-17 14:41:45 UTC (rev 2999)
@@ -226,5 +226,6 @@
<file>ico/24x16/it.png</file>
<file>ico/22x22/applications-development-translation.png</file>
<file>ico/48x48/view-pim-journal.png</file>
+ <file>ico/24x16/nl.png</file>
</qresource>
</RCC>
Modified: trunk/sources/configpages.cpp
===================================================================
--- trunk/sources/configpages.cpp 2014-04-17 06:04:36 UTC (rev 2998)
+++ trunk/sources/configpages.cpp 2014-04-17 14:41:45 UTC (rev 2999)
@@ -254,6 +254,7 @@
lang_combo_box->addItem(QET::Icons::ro, tr("Roumains"), "ro");
lang_combo_box->addItem(QET::Icons::ru, tr("Russe"), "ru");
lang_combo_box->addItem(QET::Icons::sl, tr("Slov\350ne"), "sl");
+ lang_combo_box->addItem(QET::Icons::nl, tr("Pays-Bas"), "nl");
//set curent index to the lang found in setting file
//if lang doesn't exist set to system
Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp 2014-04-17 06:04:36 UTC (rev 2998)
+++ trunk/sources/qeticons.cpp 2014-04-17 14:41:45 UTC (rev 2999)
@@ -169,6 +169,7 @@
QIcon ro;
QIcon ru;
QIcon sl;
+ QIcon nl;
QIcon translation;
QIcon listDrawings;
}
@@ -420,6 +421,7 @@
ro .addFile(":/ico/24x16/ro.png");
ru .addFile(":/ico/24x16/ru.png");
sl .addFile(":/ico/24x16/sl.png");
+ nl .addFile(":/ico/24x16/nl.png");
translation .addFile(":/ico/22x22/applications-development-translation.png");
listDrawings .addFile(":/ico/48x48/view-pim-journal.png");
}
Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h 2014-04-17 06:04:36 UTC (rev 2998)
+++ trunk/sources/qeticons.h 2014-04-17 14:41:45 UTC (rev 2999)
@@ -178,6 +178,7 @@
extern QIcon ro;
extern QIcon ru;
extern QIcon sl;
+ extern QIcon nl;
extern QIcon translation;
extern QIcon listDrawings;
}