author | mickeyl <mickeyl> | 2003-08-10 15:27:46 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-08-10 15:27:46 (UTC) |
commit | fda68d1a33f1fbe4d34e7db635a841422da8d284 (patch) (side-by-side diff) | |
tree | 29cceb485e345ef1a9264e0a34ed5982f13cf4f5 | |
parent | 99ffce74ae9f34c42859d5b86bd974551702836e (diff) | |
download | opie-fda68d1a33f1fbe4d34e7db635a841422da8d284.zip opie-fda68d1a33f1fbe4d34e7db635a841422da8d284.tar.gz opie-fda68d1a33f1fbe4d34e7db635a841422da8d284.tar.bz2 |
BUILDFIX: repeating default-arguments in definition
btw., what is or was calc2 supposed to be? It is non-functional,
can we remove it to unsupported or trashcan?
-rw-r--r-- | noncore/tools/calc2/calc.cpp | 2 | ||||
-rw-r--r-- | noncore/tools/calc2/calc.pro | 50 |
2 files changed, 26 insertions, 26 deletions
diff --git a/noncore/tools/calc2/calc.cpp b/noncore/tools/calc2/calc.cpp index 883ab33..f75eb69 100644 --- a/noncore/tools/calc2/calc.cpp +++ b/noncore/tools/calc2/calc.cpp @@ -17,25 +17,25 @@ ** not clear to you. ** **********************************************************************/ #include <qvaluelist.h> #include <qpe/qpeapplication.h> #include <qdir.h> #include <qwidgetstack.h> #include "calc.h" #include "plugininterface.h" -calc::calc (QWidget * p = 0, const char *n = 0):QWidget (p, n) +calc::calc (QWidget * p, const char *n):QWidget (p, n) { setCaption (tr ("Calculator")); // widgets LCD = new QLCDNumber (this); LCD->setMaximumSize (QSize (240, 30)); LCD->setNumDigits(12); LCD->setSegmentStyle(QLCDNumber::Filled); pluginWidgetStack = new QWidgetStack (this); // layout widgets calculatorLayout = new QVBoxLayout (this); diff --git a/noncore/tools/calc2/calc.pro b/noncore/tools/calc2/calc.pro index 8dfba95..c9f5fa1 100644 --- a/noncore/tools/calc2/calc.pro +++ b/noncore/tools/calc2/calc.pro @@ -1,29 +1,29 @@ -#TEMPLATE = app -#CONFIG += qt release -## Input -#HEADERS += calc.h plugininterface.h instruction.h engine.h stdinstructions.h -#SOURCES += calc.cpp main.cpp engine.cpp -#INCLUDEPATH += $(OPIEDIR)/include -#DEPENDPATH += $(OPIEDIR)/include -#LIBS += -lqpe -Wl,-export-dynamic -#TARGET = calc -#DESTDIR = $(OPIEDIR)/bin -# -#TRANSLATIONS = ../../../i18n/de/calc.pro \ -# ../../../i18n/en/calc.pro \ -# ../../../i18n/es/calc.pro \ -# ../../../i18n/fr/calc.pro \ -# ../../../i18n/hu/calc.pro \ -# ../../../i18n/ja/calc.pro \ -# ../../../i18n/ko/calc.pro \ -# ../../../i18n/no/calc.pro \ -# ../../../i18n/pl/calc.pro \ -# ../../../i18n/pt/calc.pro \ -# ../../../i18n/pt_BR/calc.pro \ -# ../../../i18n/sl/calc.pro \ -# ../../../i18n/zh_CN/calc.pro \ -# ../../../i18n/zh_TW/calc.pro +TEMPLATE = app +CONFIG += qt release +# Input +HEADERS += calc.h plugininterface.h instruction.h engine.h stdinstructions.h +SOURCES += calc.cpp main.cpp engine.cpp +INCLUDEPATH += $(OPIEDIR)/include +DEPENDPATH += $(OPIEDIR)/include +LIBS += -lqpe -Wl,-export-dynamic +TARGET = calc +DESTDIR = $(OPIEDIR)/bin + +TRANSLATIONS = ../../../i18n/de/calc.pro \ + ../../../i18n/en/calc.pro \ + ../../../i18n/es/calc.pro \ + ../../../i18n/fr/calc.pro \ + ../../../i18n/hu/calc.pro \ + ../../../i18n/ja/calc.pro \ + ../../../i18n/ko/calc.pro \ + ../../../i18n/no/calc.pro \ + ../../../i18n/pl/calc.pro \ + ../../../i18n/pt/calc.pro \ + ../../../i18n/pt_BR/calc.pro \ + ../../../i18n/sl/calc.pro \ + ../../../i18n/zh_CN/calc.pro \ + ../../../i18n/zh_TW/calc.pro include ( $(OPIEDIR)/include.pro ) |