~ubuntu-branches/ubuntu/trusty/qgis/trusty

« back to all changes in this revision

Viewing changes to src/gui/qgshelpviewer.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                          qgshelpviewer.cpp 
3
 
 Simple help browser
4
 
                             -------------------
5
 
    begin                : 2004-01-28
6
 
    copyright            : (C) 2004 by Gary E.Sherman
7
 
    email                : sherman at mrcc.com
8
 
***************************************************************************/
9
 
 
10
 
/***************************************************************************
11
 
 *                                                                         *
12
 
 *   This program is free software; you can redistribute it and/or modify  *
13
 
 *   it under the terms of the GNU General Public License as published by  *
14
 
 *   the Free Software Foundation; either version 2 of the License, or     *
15
 
 *   (at your option) any later version.                                   *
16
 
 *                                                                         *
17
 
 ***************************************************************************/
18
 
 /* $Id: qgshelpviewer.cpp 4774 2006-01-29 01:37:36Z g_j_m $ */
19
 
 
20
 
#include "qgshelpviewer.h"
21
 
 
22
 
#include <QString>
23
 
 
24
 
QgsHelpViewer::QgsHelpViewer(QWidget * parent, Qt::WFlags fl)
25
 
: QDialog(parent, fl)
26
 
{
27
 
  setupUi(this);
28
 
}
29
 
 
30
 
/*
31
 
 *  Destroys the object and frees any allocated resources
32
 
 */
33
 
QgsHelpViewer::~QgsHelpViewer()
34
 
{
35
 
  // no need to delete child widgets, Qt does it all for us
36
 
}
37
 
void QgsHelpViewer::showContent(QString path, QString doc)
38
 
{
39
 
  //textBrowser->mimeSourceFactory()->addFilePath(path);
40
 
  //textBrowser->setSource(doc);
41
 
}