summaryrefslogtreecommitdiff
path: root/noncore/tools/opie-sh/fviewer.cpp
authorspiralman <spiralman>2002-05-27 00:59:37 (UTC)
committer spiralman <spiralman>2002-05-27 00:59:37 (UTC)
commitd3451ccc7191bc2f761bae12b50c7ce274647bdb (patch) (side-by-side diff)
treef96f3c210de2c91d793d999e19bbcbc81ff02a99 /noncore/tools/opie-sh/fviewer.cpp
parent95d2a3806a39bb31c9cca38c2c6158ecb77818e9 (diff)
downloadopie-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.cpp4
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
*/
#include "fviewer.h"
-FViewer::FViewer(QString filename, QString title, QWidget *parent=0, const char*name=0):QWidget(parent, name)
+FViewer::FViewer(QString icon, QString filename, QString title, QWidget *parent=0, const char*name=0):QWidget(parent, name)
{
QVBoxLayout *layout = new QVBoxLayout(this);
+
+ setIcon(Resource::loadPixmap("opie-sh"));
textView = new QTextBrowser(this, "textview");
layout->addWidget(textView);