Diffstat (limited to 'noncore/apps/checkbook/kmolcalc.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/kmolcalc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/checkbook/kmolcalc.cpp b/noncore/apps/checkbook/kmolcalc.cpp index e5ab736..50e1375 100644 --- a/noncore/apps/checkbook/kmolcalc.cpp +++ b/noncore/apps/checkbook/kmolcalc.cpp | |||
@@ -2,6 +2,7 @@ | |||
2 | * kmolcalc.cpp | 2 | * kmolcalc.cpp |
3 | * | 3 | * |
4 | * Copyright (C) 2000 Tomislav Gountchev <tomi@idiom.com> | 4 | * Copyright (C) 2000 Tomislav Gountchev <tomi@idiom.com> |
5 | * Copyright (C) 2002 Carsten Niehaus <cniehaus@handhelds.org> | ||
5 | */ | 6 | */ |
6 | 7 | ||
7 | /** | 8 | /** |
@@ -13,6 +14,7 @@ | |||
13 | #include "kmolcalc.h" | 14 | #include "kmolcalc.h" |
14 | #include <qdict.h> | 15 | #include <qdict.h> |
15 | #include <qdir.h> | 16 | #include <qdir.h> |
17 | #include <qfile.h> | ||
16 | #include <iostream.h> | 18 | #include <iostream.h> |
17 | 19 | ||
18 | 20 | ||
@@ -35,7 +37,7 @@ void KMolCalc::readElstable() { | |||
35 | elstable = new QDict<SubUnit> (197, TRUE); | 37 | elstable = new QDict<SubUnit> (197, TRUE); |
36 | elstable->setAutoDelete(TRUE); | 38 | elstable->setAutoDelete(TRUE); |
37 | QStringList files;// = // KGlobal::dirs()->findAllResources("appdata", "kmolweights"); | 39 | QStringList files;// = // KGlobal::dirs()->findAllResources("appdata", "kmolweights"); |
38 | // mwfile = locateLocal("data", "kmol")+"/kmolweights"; | 40 | mwfile = "/home/opie/opie/noncore/apps/oxigen/kmolweights"; |
39 | QFile f(mwfile); | 41 | QFile f(mwfile); |
40 | QString* latest_f = &mwfile; | 42 | QString* latest_f = &mwfile; |
41 | for (uint i=0; i<files.count(); i++) { | 43 | for (uint i=0; i<files.count(); i++) { |