author | cniehaus <cniehaus> | 2002-09-21 20:35:42 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-21 20:35:42 (UTC) |
commit | 023b34ea1584474a0ba625be4b099cb9a2de376c (patch) (unidiff) | |
tree | 1c796b6b9068a9dd200cc9dfd0fda90294f5c109 /noncore/apps/oxygen/psewidget.cpp | |
parent | 394658a0a5430ce1195ee0393d174ed7f25835d9 (diff) | |
download | opie-023b34ea1584474a0ba625be4b099cb9a2de376c.zip opie-023b34ea1584474a0ba625be4b099cb9a2de376c.tar.gz opie-023b34ea1584474a0ba625be4b099cb9a2de376c.tar.bz2 |
Fix for the PSE (make it bunt)
Diffstat (limited to 'noncore/apps/oxygen/psewidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/psewidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/psewidget.cpp b/noncore/apps/oxygen/psewidget.cpp index 449afef..ba9b71a 100644 --- a/noncore/apps/oxygen/psewidget.cpp +++ b/noncore/apps/oxygen/psewidget.cpp | |||
@@ -14,12 +14,13 @@ | |||
14 | * ( at your option ) any later version. * | 14 | * ( at your option ) any later version. * |
15 | * * | 15 | * * |
16 | **************************************************************************/ | 16 | **************************************************************************/ |
17 | 17 | ||
18 | #include <qpe/config.h> | 18 | #include <qpe/config.h> |
19 | #include <qlayout.h> | 19 | #include <qlayout.h> |
20 | #include <qpe/qpeapplication.h> | ||
20 | #include <qlist.h> | 21 | #include <qlist.h> |
21 | #include "dataTable.h" | 22 | #include "dataTable.h" |
22 | #include "psewidget.h" | 23 | #include "psewidget.h" |
23 | #include "oxyframe.h" | 24 | #include "oxyframe.h" |
24 | 25 | ||
25 | 26 | ||
@@ -29,13 +30,13 @@ PSEWidget::PSEWidget() : QWidget() | |||
29 | 30 | ||
30 | QVBoxLayout *vlay = new QVBoxLayout( this ); | 31 | QVBoxLayout *vlay = new QVBoxLayout( this ); |
31 | 32 | ||
32 | QGridLayout *grid = new QGridLayout( 18,10 ); | 33 | QGridLayout *grid = new QGridLayout( 18,10 ); |
33 | int h=0, v=0; | 34 | int h=0, v=0; |
34 | 35 | ||
35 | Config configobj( "oxygendata" ); | 36 | Config configobj( QPEApplication::qpeDir() +"share/oxygen/oxygendata", Config::File ); |
36 | for( int n = 0 ; n < 118 ; n++ ) | 37 | for( int n = 0 ; n < 118 ; n++ ) |
37 | { | 38 | { |
38 | configobj.setGroup( QString::number( n+1 )); | 39 | configobj.setGroup( QString::number( n+1 )); |
39 | 40 | ||
40 | position( n+1,h,v ); | 41 | position( n+1,h,v ); |
41 | QList<OxyFrame> PSEframe; | 42 | QList<OxyFrame> PSEframe; |