author | spiralman <spiralman> | 2002-05-27 00:59:37 (UTC) |
---|---|---|
committer | spiralman <spiralman> | 2002-05-27 00:59:37 (UTC) |
commit | d3451ccc7191bc2f761bae12b50c7ce274647bdb (patch) (side-by-side diff) | |
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) (show 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 @@ -12,16 +12,18 @@ Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free 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); QString string; if(title.isNull()) |