Skip to content

Commit

Permalink
Skip bindings for classes migrated from app
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jul 12, 2017
1 parent d952ce1 commit 846abe7
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 12 deletions.
8 changes: 7 additions & 1 deletion src/gui/ogr/qgsnewogrconnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@

#ifndef QGSNEWOGRCONNECTION_H
#define QGSNEWOGRCONNECTION_H

#define SIP_NO_FILE

#include "ui_qgsnewogrconnectionbase.h"
#include "qgsguiutils.h"
#include "qgscontexthelp.h"
#include "qgis_gui.h"


/** \class QgsNewOgrConnection
* \brief Dialog to allow the user to define, test and save connection
* information for OGR databases
* \note not available in python bindings
*/
class QgsNewOgrConnection : public QDialog, private Ui::QgsNewOgrConnectionBase
class GUI_EXPORT QgsNewOgrConnection : public QDialog, private Ui::QgsNewOgrConnectionBase
{
Q_OBJECT

Expand Down
17 changes: 13 additions & 4 deletions src/gui/ogr/qgsogrhelperfunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,18 @@
***************************************************************************/

#include <QString>
#include "qgis_gui.h"

/* Create database uri from connection parameters */
QString createDatabaseURI( const QString &connectionType, const QString &host, const QString &database, QString port, const QString &user, const QString &password );
#define SIP_NO_FILE

/* Create protocol uri from connection parameters */
QString createProtocolURI( const QString &type, const QString &url );
/** CreateDatabaseURI
* \brief Create database uri from connection parameters
* \note not available in python bindings
*/
QString GUI_EXPORT createDatabaseURI( const QString &connectionType, const QString &host, const QString &database, QString port, const QString &user, const QString &password );

/** CreateProtocolURI
* \brief Create protocol uri from connection parameters
* \note not available in python bindings
*/
QString GUI_EXPORT createProtocolURI( const QString &type, const QString &url );
6 changes: 5 additions & 1 deletion src/gui/ogr/qgsopenvectorlayerdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@
#include <QDialog>
#include "qgshelp.h"
#include "qgsproviderregistry.h"
#include "qgis_gui.h"

#define SIP_NO_FILE

/**
* Class for a dialog to select the type and source for ogr vectors, supports
* file, database, directory and protocol sources.
* \note not available in Python bindings
*/
class QgsOpenVectorLayerDialog : public QDialog, private Ui::QgsOpenVectorLayerDialogBase
class GUI_EXPORT QgsOpenVectorLayerDialog : public QDialog, private Ui::QgsOpenVectorLayerDialogBase
{
Q_OBJECT

Expand Down
3 changes: 3 additions & 0 deletions src/gui/ogr/qgsvectorlayersaveasdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@
#include "qgsvectorfilewriter.h"
#include "qgis_gui.h"

#define SIP_NO_FILE

class QgsVectorLayer;

/**
* Class to select destination file, type and CRS for ogr layers
* \note not available in Python bindings
*/
class GUI_EXPORT QgsVectorLayerSaveAsDialog : public QDialog, private Ui::QgsVectorLayerSaveAsDialogBase
{
Expand Down
10 changes: 4 additions & 6 deletions src/gui/qgsdatasourcemanagerdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,19 @@

#include <QList>
#include <QDialog>
#include "ui_qgsdatasourcemanagerdialog.h"
#include "qgsoptionsdialogbase.h"
#include "qgsguiutils.h"
#include "qgsmimedatautils.h"
#include "qgshelp.h"
#include "qgis_gui.h"

#define SIP_NO_FILE

class QgsBrowserDockWidget;
class QgsRasterLayer;
class QgsMapCanvas;

namespace Ui
{
class QgsDataSourceManagerDialog;
}

/** \ingroup gui
* The QgsDataSourceManagerDialog class embeds the browser panel and all
* the provider dialogs.
Expand All @@ -42,7 +40,7 @@ namespace Ui
* \since QGIS 3.0
* @note not available in Python bindings
*/
class GUI_EXPORT QgsDataSourceManagerDialog : public QgsOptionsDialogBase
class GUI_EXPORT QgsDataSourceManagerDialog : public QgsOptionsDialogBase, private Ui::QgsDataSourceManagerDialog
{
Q_OBJECT

Expand Down

0 comments on commit 846abe7

Please sign in to comment.