author | zecke <zecke> | 2005-02-19 17:26:15 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-02-19 17:26:15 (UTC) |
commit | 112337f13c70f1266430f154d486b6f23ec18488 (patch) (unidiff) | |
tree | 6869bbf5f7763b2a56ef690526275cae081dae83 | |
parent | b02c537198dad1e53f8c4004a4c08578e431b411 (diff) | |
download | opie-112337f13c70f1266430f154d486b6f23ec18488.zip opie-112337f13c70f1266430f154d486b6f23ec18488.tar.gz opie-112337f13c70f1266430f154d486b6f23ec18488.tar.bz2 |
Make use of the platform
-rw-r--r-- | noncore/apps/opie-gutenbrowser/helpwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-gutenbrowser/helpwindow.cpp b/noncore/apps/opie-gutenbrowser/helpwindow.cpp index 57b1e74..4bdac02 100644 --- a/noncore/apps/opie-gutenbrowser/helpwindow.cpp +++ b/noncore/apps/opie-gutenbrowser/helpwindow.cpp | |||
@@ -8,12 +8,15 @@ | |||
8 | ** | 8 | ** |
9 | copyright : (C) 2000 -2004 by llornkcor | 9 | copyright : (C) 2000 -2004 by llornkcor |
10 | email : ljp@llornkcor.com | 10 | email : ljp@llornkcor.com |
11 | *****************************************************************************/ | 11 | *****************************************************************************/ |
12 | 12 | ||
13 | #include "helpwindow.h" | 13 | #include "helpwindow.h" |
14 | |||
15 | #include <qpe/global.h> | ||
16 | |||
14 | #include <qstatusbar.h> | 17 | #include <qstatusbar.h> |
15 | 18 | ||
16 | #include <qmenubar.h> | 19 | #include <qmenubar.h> |
17 | #include <qtoolbar.h> | 20 | #include <qtoolbar.h> |
18 | #include <qtoolbutton.h> | 21 | #include <qtoolbutton.h> |
19 | #include <qcombobox.h> | 22 | #include <qcombobox.h> |
@@ -24,13 +27,13 @@ | |||
24 | 27 | ||
25 | #include <ctype.h> | 28 | #include <ctype.h> |
26 | 29 | ||
27 | HelpWindow::HelpWindow( const QString& home_, const QString&, QWidget* parent, const char *name ) | 30 | HelpWindow::HelpWindow( const QString& home_, const QString&, QWidget* parent, const char *name ) |
28 | : QMainWindow( parent, name, WDestructiveClose ), pathCombo( 0 ), selectedURL() | 31 | : QMainWindow( parent, name, WDestructiveClose ), pathCombo( 0 ), selectedURL() |
29 | { | 32 | { |
30 | QString local_library = (QDir::homeDirPath ()) +"/Applications/gutenbrowser/"; | 33 | QString local_library = Global::applicationFileName("gutenbrowser", QString::null); |
31 | // readHistory(); | 34 | // readHistory(); |
32 | // readBookmarks(); | 35 | // readBookmarks(); |
33 | 36 | ||
34 | browser = new QTextBrowser( this ); | 37 | browser = new QTextBrowser( this ); |
35 | QStringList Strlist; | 38 | QStringList Strlist; |
36 | Strlist.append( home_); | 39 | Strlist.append( home_); |