[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/kcalc
From:       Klaus Niederkrüger <kniederk () mi ! uni-koeln ! de>
Date:       2005-01-08 1:01:48
Message-ID: 20050108010148.01BB31BBB1 () office ! kde ! org
[Download RAW message or body]

CVS commit by kniederk: 

Move UTF8 strings into independent substrings.


  M +9 -6      kcalc.cpp   1.190


--- kdeutils/kcalc/kcalc.cpp  #1.189:1.190
@@ -654,5 +654,5 @@ QWidget* KCalculator::setupNumericKeys(Q
         pbMR->setDisabled(true); // At start, there is nothing in memory
 
-        pbMPlusMinus = new KCalcButton("M\xb1", mLargePage, "MPlusMinus-Button");
+        pbMPlusMinus = new KCalcButton("M" "\xb1", mLargePage, "MPlusMinus-Button");
         connect(this, SIGNAL(switchShowAccels(bool)),
                 pbMPlusMinus, SLOT(slotSetAccelDisplayMode(bool)));
@@ -887,6 +887,6 @@ void KCalculator::setupStatisticKeys(QWi
         tmp_pb = new KCalcButton(parent, "Stat.NumData-Button");
         tmp_pb->addMode(ModeNormal, "N", i18n("Number of data entered"));
-        tmp_pb->addMode(ModeInverse, QString::fromUtf8("Σx"),
-                        i18n("Sum of all data items"));
+        tmp_pb->addMode(ModeInverse, QString::fromUtf8("\xce\xa3")
+                        + "x", i18n("Sum of all data items"));
         pbStat.insert("NumData", tmp_pb);
         mStatButtonList.append(tmp_pb);
@@ -908,5 +908,6 @@ void KCalculator::setupStatisticKeys(QWi
         tmp_pb = new KCalcButton(parent, "Stat.Mean-Button");
         tmp_pb->addMode(ModeNormal, "Mea", i18n("Mean"));
-        tmp_pb->addMode(ModeInverse, QString::fromUtf8("Σx<sup>2</sup>"),
+        tmp_pb->addMode(ModeInverse, QString::fromUtf8("\xce\xa3")
+                        + "x<sup>2</sup>",
                         i18n("Sum of all data items squared"), true);
         pbStat.insert("Mean", tmp_pb);
@@ -2281,6 +2282,8 @@ extern "C" KDE_EXPORT int kdemain(int ar
         aboutData.addAuthor("Aaron J. Seigo", 0, "aseigo@olympusproject.org");
         aboutData.addAuthor("Charles Samuels", 0, "charles@altair.dhs.org");
-        aboutData.addAuthor("Klaus Niederkrüger", 0, "kniederk@math.uni-koeln.de");
-        aboutData.addAuthor("René Mérou", 0, "ochominutosdearco@yahoo.es");
+        /* Klaus Niederkrueger */
+        aboutData.addAuthor("Klaus Niederkr" "\xc3\xbc" "ger", 0, "kniederk@math.uni-koeln.de");
+        /* Rene Merou */
+        aboutData.addAuthor("Ren" "\xc3\xa9" " M" "\xc3xa9"  "rou", 0, "ochominutosdearco@yahoo.es");
         KCmdLineArgs::init(argc, argv, &aboutData);
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic