mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +01:00
Add macro to disable/enable project database export
This commit is contained in:
@@ -79,12 +79,14 @@ class projectDataBase : public QObject
|
||||
m_remove_diagram_query,
|
||||
m_insert_diagram_info_query;
|
||||
|
||||
#ifdef QET_EXPORT_PROJECT_DB
|
||||
public:
|
||||
static sqlite3 *sqliteHandle(QSqlDatabase *db);
|
||||
static void exportDb(projectDataBase *db,
|
||||
QWidget *parent = nullptr,
|
||||
const QString &caption = QString(),
|
||||
const QString &dir = QString());
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // PROJECTDATABASE_H
|
||||
|
||||
Reference in New Issue
Block a user