author | mark <mark> | 2002-02-13 19:37:57 (UTC) |
---|---|---|
committer | mark <mark> | 2002-02-13 19:37:57 (UTC) |
commit | 9ba4b29cd8383daf307b41e5e2a780b604c7c226 (patch) (unidiff) | |
tree | 238795b65ae4e7626fdf6a4048a916092649542e | |
parent | 2723d2652fdb154d5679af9ec33e78a2673e451c (diff) | |
download | opie-9ba4b29cd8383daf307b41e5e2a780b604c7c226.zip opie-9ba4b29cd8383daf307b41e5e2a780b604c7c226.tar.gz opie-9ba4b29cd8383daf307b41e5e2a780b604c7c226.tar.bz2 |
Santising pics. Took the opporunity to change Qtopia -> Opie in docs
-rw-r--r-- | core/apps/helpbrowser/helpbrowser.cpp | 5 | ||||
-rw-r--r-- | core/apps/helpbrowser/opie-helpbrowser.control | 2 | ||||
-rw-r--r-- | core/apps/helpbrowser/pics/home.png | bin | 0 -> 693 bytes |
3 files changed, 4 insertions, 3 deletions
diff --git a/core/apps/helpbrowser/helpbrowser.cpp b/core/apps/helpbrowser/helpbrowser.cpp index d32fc0b..e20d49b 100644 --- a/core/apps/helpbrowser/helpbrowser.cpp +++ b/core/apps/helpbrowser/helpbrowser.cpp | |||
@@ -1,13 +1,13 @@ | |||
1 | /********************************************************************** | 1 | #/********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
@@ -88,25 +88,26 @@ void HelpBrowser::init( const QString& _home ) | |||
88 | //backAction->addTo( go ); | 88 | //backAction->addTo( go ); |
89 | backAction->addTo( toolbar ); | 89 | backAction->addTo( toolbar ); |
90 | backAction->setEnabled( FALSE ); | 90 | backAction->setEnabled( FALSE ); |
91 | 91 | ||
92 | forwardAction = new QAction( tr( "Forward" ), Resource::loadIconSet( "forward" ), QString::null, 0, this, 0 ); | 92 | forwardAction = new QAction( tr( "Forward" ), Resource::loadIconSet( "forward" ), QString::null, 0, this, 0 ); |
93 | connect( forwardAction, SIGNAL( activated() ), browser, SLOT( forward() ) ); | 93 | connect( forwardAction, SIGNAL( activated() ), browser, SLOT( forward() ) ); |
94 | connect( browser, SIGNAL( forwardAvailable( bool ) ), | 94 | connect( browser, SIGNAL( forwardAvailable( bool ) ), |
95 | forwardAction, SLOT( setEnabled( bool ) ) ); | 95 | forwardAction, SLOT( setEnabled( bool ) ) ); |
96 | //forwardAction->addTo( go ); | 96 | //forwardAction->addTo( go ); |
97 | forwardAction->addTo( toolbar ); | 97 | forwardAction->addTo( toolbar ); |
98 | forwardAction->setEnabled( FALSE ); | 98 | forwardAction->setEnabled( FALSE ); |
99 | 99 | ||
100 | QAction *a = new QAction( tr( "Home" ), Resource::loadPixmap( "home" ), QString::null, 0, this, 0 ); | 100 | QAction *a = new QAction( tr( "Home" ), Resource::loadPixmap( |
101 | "helpbrowser/home" ), QString::null, 0, this, 0 ); | ||
101 | connect( a, SIGNAL( activated() ), browser, SLOT( home() ) ); | 102 | connect( a, SIGNAL( activated() ), browser, SLOT( home() ) ); |
102 | //a->addTo( go ); | 103 | //a->addTo( go ); |
103 | a->addTo( toolbar ); | 104 | a->addTo( toolbar ); |
104 | 105 | ||
105 | bookm = new QPopupMenu( this ); | 106 | bookm = new QPopupMenu( this ); |
106 | bookm->insertItem( tr( "Add Bookmark" ), this, SLOT( addBookmark() ) ); | 107 | bookm->insertItem( tr( "Add Bookmark" ), this, SLOT( addBookmark() ) ); |
107 | bookm->insertItem( tr( "Remove from Bookmarks" ), this, SLOT( removeBookmark() ) ); | 108 | bookm->insertItem( tr( "Remove from Bookmarks" ), this, SLOT( removeBookmark() ) ); |
108 | bookm->insertSeparator(); | 109 | bookm->insertSeparator(); |
109 | connect( bookm, SIGNAL( activated( int ) ), | 110 | connect( bookm, SIGNAL( activated( int ) ), |
110 | this, SLOT( bookmChosen( int ) ) ); | 111 | this, SLOT( bookmChosen( int ) ) ); |
111 | 112 | ||
112 | readBookmarks(); | 113 | readBookmarks(); |
diff --git a/core/apps/helpbrowser/opie-helpbrowser.control b/core/apps/helpbrowser/opie-helpbrowser.control index a9eff38..e4fbf40 100644 --- a/core/apps/helpbrowser/opie-helpbrowser.control +++ b/core/apps/helpbrowser/opie-helpbrowser.control | |||
@@ -1,10 +1,10 @@ | |||
1 | Files: bin/helpbrowser apps/Applications/helpbrowser.desktop docs | 1 | Files: bin/helpbrowser apps/Applications/helpbrowser.desktop docs pics/helpbrowser/* |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: opie/applications | 3 | Section: opie/applications |
4 | Maintainer: Warwick Allison <warwick@trolltech.com> | 4 | Maintainer: Warwick Allison <warwick@trolltech.com> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Arch: iPAQ | 6 | Arch: iPAQ |
7 | Version: $QPE_VERSION-$SUB_VERSION | 7 | Version: $QPE_VERSION-$SUB_VERSION |
8 | Depends: opie-base ($QPE_VERSION) | 8 | Depends: opie-base ($QPE_VERSION) |
9 | Description: Browse HTML help documents | 9 | Description: Browse HTML help documents |
10 | The HTML help browser for the Opie environment. | 10 | The HTML help browser for the Opie environment. |
diff --git a/core/apps/helpbrowser/pics/home.png b/core/apps/helpbrowser/pics/home.png new file mode 100644 index 0000000..e9ba024 --- a/dev/null +++ b/core/apps/helpbrowser/pics/home.png | |||
Binary files differ | |||