Skip to content

Commit

Permalink
cleanup: remove QgsApplication::msexportAppPath() and app/qgshelpviewer*
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15293 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 28, 2011
1 parent 6720f15 commit e7dbc5a
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 107 deletions.
3 changes: 0 additions & 3 deletions python/core/qgsapplication.sip
Expand Up @@ -130,9 +130,6 @@ static void qtgui_UpdatePyArgv(PyObject *argvlist, int argc, char **argv)
//! Returns the path to the help application.
static const QString helpAppPath();

//! Returns the path to the mapserver export application.
static const QString msexportAppPath();

//! Returns the path to the translation directory.
static const QString i18nPath();

Expand Down
2 changes: 0 additions & 2 deletions src/app/CMakeLists.txt
Expand Up @@ -25,7 +25,6 @@ SET(QGIS_APP_SRCS
qgsfieldcalculator.cpp
qgsnewvectorlayerdialog.cpp
qgsgraduatedsymboldialog.cpp
qgshelpviewer.cpp
qgsidentifyresults.cpp
qgsfeatureaction.cpp
qgslabeldialog.cpp
Expand Down Expand Up @@ -164,7 +163,6 @@ SET (QGIS_APP_MOC_HDRS
qgsfieldcalculator.h
qgsformannotationdialog.h
qgsgraduatedsymboldialog.h
qgshelpviewer.h
qgsidentifyresults.h
qgslabeldialog.h
qgslabelengineconfigdialog.h
Expand Down
1 change: 0 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -119,7 +119,6 @@
#include "qgsformannotationitem.h"
#include "qgsgenericprojectionselector.h"
#include "qgsgpsinformationwidget.h"
#include "qgshelpviewer.h"
#include "qgslabelinggui.h"
#include "qgslegend.h"
#include "qgslegendlayer.h"
Expand Down
3 changes: 0 additions & 3 deletions src/app/qgisapp.h
Expand Up @@ -44,7 +44,6 @@ class QgsClipboard;
class QgsComposer;
class QgsComposerView;
class QgsGeometry;
class QgsHelpViewer;
class QgsFeature;

class QgsLegend;
Expand Down Expand Up @@ -1161,8 +1160,6 @@ class QgisApp : public QMainWindow
QTcpSocket *mSocket;
QString mVersionMessage;
QSplashScreen *mSplash;
//! help viewer
QgsHelpViewer *mHelpViewer;
//! list of recently opened/saved project files
QStringList mRecentProjectPaths;
//! Print composers of this project, accessible by id string
Expand Down
41 changes: 0 additions & 41 deletions src/app/qgshelpviewer.cpp

This file was deleted.

39 changes: 0 additions & 39 deletions src/app/qgshelpviewer.h

This file was deleted.

19 changes: 4 additions & 15 deletions src/core/qgsapplication.cpp
Expand Up @@ -241,26 +241,15 @@ const QString QgsApplication::developerPath()
*/
const QString QgsApplication::helpAppPath()
{
QString helpAppPath = applicationDirPath();
QString helpAppPath;
#ifdef Q_OS_MACX
helpAppPath += "/bin/qgis_help.app/Contents/MacOS";
helpAppPath = applicationDirPath() + "/bin/qgis_help.app/Contents/MacOS";
#else
helpAppPath = prefixPath() + "/" QGIS_LIBEXEC_SUBDIR;
#endif
helpAppPath += "/qgis_help";
return helpAppPath;
}
/*!
Returns the path to the mapserverexport application.
*/
const QString QgsApplication::msexportAppPath()
{
QString msexportAppPath = applicationDirPath();
#ifdef Q_OS_MACX
msexportAppPath += "/bin/msexport.app/Contents/MacOS";
#endif
msexportAppPath += "/msexport";
return msexportAppPath;
}

/*!
Returns the path to the translation directory.
*/
Expand Down
3 changes: 0 additions & 3 deletions src/core/qgsapplication.h
Expand Up @@ -83,9 +83,6 @@ class CORE_EXPORT QgsApplication: public QApplication
//! Returns the path to the help application.
static const QString helpAppPath();

//! Returns the path to the mapserver export application.
static const QString msexportAppPath();

//! Returns the path to the translation directory.
static const QString i18nPath();

Expand Down

0 comments on commit e7dbc5a

Please sign in to comment.