author | spiralman <spiralman> | 2002-05-27 00:59:37 (UTC) |
---|---|---|
committer | spiralman <spiralman> | 2002-05-27 00:59:37 (UTC) |
commit | d3451ccc7191bc2f761bae12b50c7ce274647bdb (patch) (unidiff) | |
tree | f96f3c210de2c91d793d999e19bbcbc81ff02a99 /noncore/tools/opie-sh/fviewer.cpp | |
parent | 95d2a3806a39bb31c9cca38c2c6158ecb77818e9 (diff) | |
download | opie-d3451ccc7191bc2f761bae12b50c7ce274647bdb.zip opie-d3451ccc7191bc2f761bae12b50c7ce274647bdb.tar.gz opie-d3451ccc7191bc2f761bae12b50c7ce274647bdb.tar.bz2 |
added help files and an icon in the Applications tab
Diffstat (limited to 'noncore/tools/opie-sh/fviewer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/opie-sh/fviewer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/tools/opie-sh/fviewer.cpp b/noncore/tools/opie-sh/fviewer.cpp index 5dc09ff..882c72c 100644 --- a/noncore/tools/opie-sh/fviewer.cpp +++ b/noncore/tools/opie-sh/fviewer.cpp | |||
@@ -15,9 +15,11 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
15 | */ | 15 | */ |
16 | #include "fviewer.h" | 16 | #include "fviewer.h" |
17 | 17 | ||
18 | FViewer::FViewer(QString filename, QString title, QWidget *parent=0, const char*name=0):QWidget(parent, name) | 18 | FViewer::FViewer(QString icon, QString filename, QString title, QWidget *parent=0, const char*name=0):QWidget(parent, name) |
19 | { | 19 | { |
20 | QVBoxLayout *layout = new QVBoxLayout(this); | 20 | QVBoxLayout *layout = new QVBoxLayout(this); |
21 | |||
22 | setIcon(Resource::loadPixmap("opie-sh")); | ||
21 | 23 | ||
22 | textView = new QTextBrowser(this, "textview"); | 24 | textView = new QTextBrowser(this, "textview"); |
23 | layout->addWidget(textView); | 25 | layout->addWidget(textView); |